summaryrefslogtreecommitdiff
path: root/src/Persistence_representations/example/sliced_wasserstein.cpp
diff options
context:
space:
mode:
authormcarrier <mcarrier@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-08-13 23:17:08 +0000
committermcarrier <mcarrier@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-08-13 23:17:08 +0000
commit5f5a7a21e9db73eaf9dc2604cb0de3066f7a4fb6 (patch)
tree0e68f4ae883d8e2e7e57b01bce1413173ba3124e /src/Persistence_representations/example/sliced_wasserstein.cpp
parent4560e97df7abb106c420c7f05747d26f2972b5aa (diff)
parent0784baddd1392727289a972b8374b3c2dca940a9 (diff)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/kernels@3778 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 189ac5572f69842e1d8d1cec68ca6a4f62e39bd4
Diffstat (limited to 'src/Persistence_representations/example/sliced_wasserstein.cpp')
-rw-r--r--src/Persistence_representations/example/sliced_wasserstein.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Persistence_representations/example/sliced_wasserstein.cpp b/src/Persistence_representations/example/sliced_wasserstein.cpp
index 2104e2b2..089172a0 100644
--- a/src/Persistence_representations/example/sliced_wasserstein.cpp
+++ b/src/Persistence_representations/example/sliced_wasserstein.cpp
@@ -50,8 +50,6 @@ int main(int argc, char** argv) {
SW swex1(persistence1, 1, -1);
SW swex2(persistence2, 1, -1);
- std::cout << "Approx SW distance: " << sw1.compute_sliced_wasserstein_distance(sw2) << std::endl;
- std::cout << "Exact SW distance: " << swex1.compute_sliced_wasserstein_distance(swex2) << std::endl;
std::cout << "Approx SW kernel: " << sw1.compute_scalar_product(sw2) << std::endl;
std::cout << "Exact SW kernel: " << swex1.compute_scalar_product(swex2) << std::endl;
std::cout << "Distance induced by approx SW kernel: " << sw1.distance(sw2) << std::endl;