From 1607071fcd9d473eae295693fc97bee8c50d6a11 Mon Sep 17 00:00:00 2001 From: Arnur Nigmetov Date: Tue, 4 Apr 2017 14:20:16 +0200 Subject: Prepare to output real relative error. In Wasserstein distance computation AuctionRunner class now has a field relativeError which contains the relative error which we can guarantee, so if the user asked for 0.1 accuracy, but the result is 0.03 accurate, this information can be retrieved. --- geom_matching/wasserstein/example/wasserstein_dist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'geom_matching/wasserstein/example') diff --git a/geom_matching/wasserstein/example/wasserstein_dist.cpp b/geom_matching/wasserstein/example/wasserstein_dist.cpp index e92ab54..c699282 100644 --- a/geom_matching/wasserstein/example/wasserstein_dist.cpp +++ b/geom_matching/wasserstein/example/wasserstein_dist.cpp @@ -46,7 +46,7 @@ int main(int argc, char* argv[]) PairVector diagramA, diagramB; if (argc < 3 ) { - std::cerr << "Usage: " << argv[0] << " file1 file2 [wasserstein_degree] [relative_error] [internal norm]. By default power is 1.0, relative error is 0.01, internal norm is l_infinity." << std::endl; + std::cerr << "Usage: " << argv[0] << " file1 file2 [wasserstein_degree] [relative_error] [internal norm] [output_actual_error]. By default power is 1.0, relative error is 0.01, internal norm is l_infinity, actual relative error is not printed." << std::endl; return 1; } -- cgit v1.2.3