From a5454ea066a0b148c9f423fc8862e26aae79eefe Mon Sep 17 00:00:00 2001 From: Arnur Nigmetov Date: Fri, 16 Mar 2018 13:52:36 +0100 Subject: Minor changes (indentation, etc) --- geom_matching/wasserstein/example/wasserstein_dist_dipha.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'geom_matching/wasserstein/example/wasserstein_dist_dipha.cpp') diff --git a/geom_matching/wasserstein/example/wasserstein_dist_dipha.cpp b/geom_matching/wasserstein/example/wasserstein_dist_dipha.cpp index a9029fe..cd8c61a 100644 --- a/geom_matching/wasserstein/example/wasserstein_dist_dipha.cpp +++ b/geom_matching/wasserstein/example/wasserstein_dist_dipha.cpp @@ -1,6 +1,7 @@ /* Copyright (c) 2015, M. Kerber, D. Morozov, A. Nigmetov +Copyright (c) 2018, G. Spreemann All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -49,12 +50,12 @@ int main(int argc, char* argv[]) hera::AuctionParams params; if (argc < 4 ) { - std::cerr << "Usage: " << argv[0] << " file1 file2 ph_degree [wasserstein_degree] [relative_error] [internal norm] [initial epsilon] [epsilon_factor] [max_bids_per_round] [gamma_threshold][log_filename_prefix]. By default power is 1.0, relative error is 0.01, internal norm is l_infinity, initall epsilon is chosen automatically, epsilon factor is 5.0, Jacobi variant is used (max bids per round is maximal), gamma_threshold = 0.0." << std::endl; + std::cerr << "Usage: " << argv[0] << " file1 file2 ph_dim [wasserstein_degree] [relative_error] [internal norm] [initial epsilon] [epsilon_factor] [max_bids_per_round] [gamma_threshold][log_filename_prefix]. By default power is 1.0, relative error is 0.01, internal norm is l_infinity, initall epsilon is chosen automatically, epsilon factor is 5.0, Jacobi variant is used (max bids per round is maximal), gamma_threshold = 0.0." << std::endl; return 1; } unsigned int dim = std::stoul(argv[3]); - + if (!hera::read_diagram_dipha(argv[1], dim, diagramA)) { std::exit(1); } -- cgit v1.2.3