X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dbd7e7a54fc9a2f7121d065b9ef44f990643f4eb..ac389dc4950914073f9d0e80703e7593590babb9:/src/mc/explo/Exploration.hpp diff --git a/src/mc/explo/Exploration.hpp b/src/mc/explo/Exploration.hpp index a164bf0a8f..64114d4bf2 100644 --- a/src/mc/explo/Exploration.hpp +++ b/src/mc/explo/Exploration.hpp @@ -8,6 +8,7 @@ #include "simgrid/forward.h" #include "src/mc/api/RemoteApp.hpp" +#include "src/mc/mc_config.hpp" #include "src/mc/mc_exit.hpp" #include "src/mc/mc_record.hpp" #include @@ -40,7 +41,7 @@ public: static Exploration* get_instance() { return instance_; } // No copy: - Exploration(Exploration const&) = delete; + Exploration(Exploration const&) = delete; Exploration& operator=(Exploration const&) = delete; /** Main function of this algorithm */ @@ -55,13 +56,11 @@ public: * to get and display information about the current state of the * model-checking algorithm: */ - /** Show the current trace/stack - * - * Could this be handled in the Session/ModelChecker instead? */ + /** Retrieve the current stack to build an execution trace */ virtual RecordTrace get_record_trace() = 0; /** Generate a textual execution trace of the simulated application */ - virtual std::vector get_textual_trace() = 0; + std::vector get_textual_trace(); /** Log additional information about the state of the model-checker */ virtual void log_state(); @@ -74,8 +73,8 @@ public: // External constructors so that the types (and the types of their content) remain hidden XBT_PUBLIC Exploration* create_liveness_checker(const std::vector& args); -XBT_PUBLIC Exploration* create_dfs_exploration(const std::vector& args, bool with_dpor); -XBT_PUBLIC Exploration* create_communication_determinism_checker(const std::vector& args, bool with_dpor); +XBT_PUBLIC Exploration* create_dfs_exploration(const std::vector& args, ReductionMode mode); +XBT_PUBLIC Exploration* create_communication_determinism_checker(const std::vector& args, ReductionMode mode); XBT_PUBLIC Exploration* create_udpor_checker(const std::vector& args); } // namespace simgrid::mc