summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--geom_bottleneck/README9
-rw-r--r--geom_matching/README7
2 files changed, 15 insertions, 1 deletions
diff --git a/geom_bottleneck/README b/geom_bottleneck/README
index 8dda148..839ffa5 100644
--- a/geom_bottleneck/README
+++ b/geom_bottleneck/README
@@ -17,7 +17,14 @@ Your compiler must support C++11.
bottleneck_dist file1 file2 [relative_error].
-If relative error is not supplied, the exact distance is computed.
+If relative error is not supplied, the exact distance is computed and printed.
+If two diagrams are equal, then the exact distance 0.0 is printed (the order
+of points in file1 and file2 need not be the same).
+Otherwise the output is an approximation of the exact distance. Precisely:
+if d_exact is the true distance and d_approx is the output, then
+
+ | d_exact - d_approx | / d_exact < relative_error.
+
file1 and file2 must contain persistence diagrams in plain text format
(one point per line, empty lines are ignored, comments can be made with #):
diff --git a/geom_matching/README b/geom_matching/README
index 33a5611..fd987a1 100644
--- a/geom_matching/README
+++ b/geom_matching/README
@@ -24,6 +24,13 @@ wasserstein_dist file1 file2 [wasserstein degree] [relative error] [internal no
Parameter wasserstein degree corresponds to $q$, when it tends to infinity,
Wasserstein distance tends to the bottleneck distance.
+If two diagrams are equal, then the exact distance 0.0 is printed (the order
+of points in file1 and file2 need not be the same).
+Otherwise the output is an approximation of the exact distance. Precisely:
+if d_exact is the true distance and d_approx is the output, then
+
+ | d_exact - d_approx | / d_exact < relative_error.
+
Parameter internal_p corresponds to p.
Default values: