A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
public -> private+get
[simgrid.git]
/
src
/
mc
/
Checker.hpp
diff --git
a/src/mc/Checker.hpp
b/src/mc/Checker.hpp
index db9c2aeb48feeb15bc52dac92a8b6302a8fa76e8..70a9031b86e7fc16c352974ce76b169f40aecdba 100644
(file)
--- a/
src/mc/Checker.hpp
+++ b/
src/mc/Checker.hpp
@@
-13,6
+13,7
@@
#include "src/mc/mc_forward.hpp"
#include "src/mc/mc_record.h"
#include "src/mc/mc_forward.hpp"
#include "src/mc/mc_record.h"
+#include "src/mc/Session.hpp"
namespace simgrid {
namespace mc {
namespace simgrid {
namespace mc {
@@
-20,7
+21,7
@@
namespace mc {
/** A model-checking algorithm
*
* The goal is to move the data/state/configuration of a model-checking
/** A model-checking algorithm
*
* The goal is to move the data/state/configuration of a model-checking
- * algorihms in subclasses. Implementing this interface will probably
+ * algori
t
hms in subclasses. Implementing this interface will probably
* not be really mandatory, you might be able to write your
* model-checking algorithm as plain imperative code instead.
*
* not be really mandatory, you might be able to write your
* model-checking algorithm as plain imperative code instead.
*
@@
-46,11
+47,17
@@
public:
* Could this be handled in the Session/ModelChecker instead?
*/
virtual RecordTrace getRecordTrace();
* Could this be handled in the Session/ModelChecker instead?
*/
virtual RecordTrace getRecordTrace();
+ virtual std::vector<std::string> getTextualTrace();
+ virtual void logState();
protected:
Session& getSession() { return *session_; }
};
protected:
Session& getSession() { return *session_; }
};
+XBT_PUBLIC() Checker* createLivenessChecker(Session& session);
+XBT_PUBLIC() Checker* createSafetyChecker(Session& session);
+XBT_PUBLIC() Checker* createCommunicationDeterminismChecker(Session& session);
+
}
}
}
}