X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cfa35c4fa9a6bcfa6aa8f8cf21da6ab292ea21ad..985e0a5509e230076d22095da54dd0123d2afe5e:/src/mc/mc_config.cpp diff --git a/src/mc/mc_config.cpp b/src/mc/mc_config.cpp index e182f50540..069d1cee7d 100644 --- a/src/mc/mc_config.cpp +++ b/src/mc/mc_config.cpp @@ -66,11 +66,11 @@ simgrid::config::Flag _sg_mc_sleep_set{ [](bool) { _mc_cfg_cb_check("value to enable/disable the use of sleep-set in the reduction algorithm"); }}; simgrid::config::Flag _sg_mc_strategy{ - "model-check/strategy", "Specify the the kind of heuristic to use for guided model-checking", "none", - [](std::string_view value) { - if (value != "none" && value != "nb_wait") - xbt_die("configuration option 'model-check/guided-mc' can only take 'none' or 'nb_wait' as a value"); - }}; + "model-check/strategy", + "Specify the the kind of heuristic to use for guided model-checking", + "none", + {{"none", "No specific strategy: simply pick the first available transistion."}, + {"nb_wait", "Take any enabled wait transition, to reduce the distance between an async and its wait."}}}; #if SIMGRID_HAVE_STATEFUL_MC simgrid::config::Flag _sg_mc_checkpoint{