else
reduction_mode_ = ReductionMode::none;
+ sleep_set_reduction_ = _sg_mc_sleep_set;
+
if (_sg_mc_termination) {
if (with_dpor) {
XBT_INFO("Check non progressive cycles (turning DPOR off)");
xbt_die("configuration option 'model-check/reduction' can only take 'none' or 'dpor' as a value");
}};
+simgrid::config::Flag<bool> _sg_mc_sleep_set{
+ "model-check/sleep-set",
+ "Whether to enable the use of sleep-set in the reduction algorithm",
+ true,
+ [](bool) {
+ _mc_cfg_cb_check("value to enable/disable the use of sleep-set in the reduction algorithm");
+ }};
+
simgrid::config::Flag<int> _sg_mc_checkpoint{
"model-check/checkpoint", "Specify the amount of steps between checkpoints during stateful model-checking "
"(default: 0 => stateless verification). If value=1, one checkpoint is saved for each "
extern "C" XBT_PUBLIC int _sg_mc_max_visited_states;
extern XBT_PRIVATE simgrid::config::Flag<std::string> _sg_mc_dot_output_file;
extern XBT_PRIVATE simgrid::config::Flag<bool> _sg_mc_termination;
+extern XBT_PUBLIC simgrid::config::Flag<bool> _sg_mc_sleep_set;
#endif