Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / src / mc / checker / SafetyChecker.hpp
diff --git a/src/mc/checker/SafetyChecker.hpp b/src/mc/checker/SafetyChecker.hpp
deleted file mode 100644 (file)
index ec6ba66..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/* Copyright (c) 2008-2020. The SimGrid Team.
- * All rights reserved.                                                     */
-
-/* This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package. */
-
-#ifndef SIMGRID_MC_SAFETY_CHECKER_HPP
-#define SIMGRID_MC_SAFETY_CHECKER_HPP
-
-#include "src/mc/VisitedState.hpp"
-#include "src/mc/checker/Checker.hpp"
-#include "src/mc/mc_safety.hpp"
-
-#include <list>
-#include <memory>
-#include <string>
-#include <vector>
-
-namespace simgrid {
-namespace mc {
-
-class XBT_PRIVATE SafetyChecker : public Checker {
-  simgrid::mc::ReductionMode reductionMode_ = simgrid::mc::ReductionMode::unset;
-public:
-  explicit SafetyChecker(Session& session);
-  ~SafetyChecker() = default;
-  void run() override;
-  RecordTrace get_record_trace() override;
-  std::vector<std::string> get_textual_trace() override;
-  void log_state() override;
-
-private:
-  void check_non_termination(const State* current_state);
-  void backtrack();
-  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_;
-  unsigned long expanded_states_count_ = 0;
-};
-
-}
-}
-
-#endif