diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2019-12-19 07:46:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-19 07:46:47 +0100 |
commit | c5039bcafde999114283f7e59fb03e176027d740 (patch) | |
tree | e4831b2dc8d8f1e58ed122b77d6537bb82408c00 /ot/lp/EMD.h | |
parent | bbd8f2046ec42751eba8e5356366aded74a2930d (diff) | |
parent | e9954bbd959be41c59136cf921fbf094b127eb4e (diff) |
Merge pull request #109 from rflamary/sparse_emd
[MRG] Sparse emd solution
Diffstat (limited to 'ot/lp/EMD.h')
-rw-r--r-- | ot/lp/EMD.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ot/lp/EMD.h b/ot/lp/EMD.h index f42e222..2adaace 100644 --- a/ot/lp/EMD.h +++ b/ot/lp/EMD.h @@ -32,4 +32,9 @@ enum ProblemType { int EMD_wrap(int n1,int n2, double *X, double *Y,double *D, double *G, double* alpha, double* beta, double *cost, int maxIter); +int EMD_wrap_return_sparse(int n1, int n2, double *X, double *Y, double *D, + long *iG, long *jG, double *G, long * nG, + double* alpha, double* beta, double *cost, int maxIter); + + #endif |