From: Arnaud Giersch Date: Wed, 19 Jan 2011 10:58:01 +0000 (+0100) Subject: Change default values. X-Git-Tag: v0.1~188^2~24 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/06b0d2707f37e788c6d54a8fb49ceb4f9ec8ceba?hp=--cc Change default values. exit_on_close is now enabled by default, and no limits are given for stopping the simulation. --- 06b0d2707f37e788c6d54a8fb49ceb4f9ec8ceba diff --git a/options.cpp b/options.cpp index 89f8b18..fd9da4e 100644 --- a/options.cpp +++ b/options.cpp @@ -53,11 +53,10 @@ namespace opt { double min_iter_duration = 1.0; // Parameters for the end of the simulation - // fixme: find better defaults - unsigned lb_maxiter = 10; + unsigned lb_maxiter = 0; unsigned comp_maxiter = 0; double time_limit = 0; - bool exit_on_close = false; + bool exit_on_close = true; // Named parameters lists loba_algorithms_type loba_algorithms;