X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/c86e5ff42db3495538c8b48cb7ea0943a13702b7..51909edd89ccd195ba335606743a650807123999:/options.cpp?ds=sidebyside diff --git a/options.cpp b/options.cpp index 85c2130..dbfae82 100644 --- a/options.cpp +++ b/options.cpp @@ -51,7 +51,7 @@ namespace opt { // Application parameters // fixme: find better defaults cost_func comp_cost("1e9, 0"); - cost_func comm_cost("1, 0"); + cost_func comm_cost("1e6, 0"); double min_iter_duration = 1.0; // Parameters for the end of the simulation @@ -360,10 +360,10 @@ void opt::usage() << " [" << opt_helper::on_off(opt::bookkeeping) << "]\n"; std::clog << "\nApplication parameters\n"; - std::clog << o("-c [fn,...]f0") + std::clog << o("-c [aN,...]a0") << "polynomial factors for computation cost" << " [" << opt::comp_cost.to_string() << "]\n"; - std::clog << o("-C [fn,...]f0") + std::clog << o("-C [aN,...]a0") << "polynomial factors for communication cost" << " [" << opt::comm_cost.to_string() << "]\n"; std::clog << o("-s value")