namespace mc {
class XBT_PRIVATE SafetyChecker : public Checker {
- simgrid::mc::ReductionMode reductionMode_ = simgrid::mc::ReductionMode::unset;
+ ReductionMode reductionMode_ = ReductionMode::unset;
+
public:
explicit SafetyChecker(Session& session);
- ~SafetyChecker() = default;
+ ~SafetyChecker() override = default;
void run() override;
RecordTrace get_record_trace() override;
std::vector<std::string> get_textual_trace() override;
void restore_state();
/** Stack representing the position in the exploration graph */
- std::list<std::unique_ptr<simgrid::mc::State>> stack_;
- simgrid::mc::VisitedStates visited_states_;
- std::unique_ptr<simgrid::mc::VisitedState> visited_state_;
+ std::list<std::unique_ptr<State>> stack_;
+ VisitedStates visited_states_;
+ std::unique_ptr<VisitedState> visited_state_;
unsigned long expanded_states_count_ = 0;
};
-}
-}
+} // namespace mc
+} // namespace simgrid
#endif