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
Unify the way we count expended states between checkers
[simgrid.git]
/
src
/
mc
/
checker
/
SafetyChecker.hpp
diff --git
a/src/mc/checker/SafetyChecker.hpp
b/src/mc/checker/SafetyChecker.hpp
index
0167dda
..
9a934a8
100644
(file)
--- a/
src/mc/checker/SafetyChecker.hpp
+++ b/
src/mc/checker/SafetyChecker.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2008-202
0
. The SimGrid Team.
+/* Copyright (c) 2008-202
2
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-23,8
+23,7
@@
class XBT_PRIVATE SafetyChecker : public Checker {
ReductionMode reductionMode_ = ReductionMode::unset;
public:
ReductionMode reductionMode_ = ReductionMode::unset;
public:
- explicit SafetyChecker(Session& session);
- ~SafetyChecker() = default;
+ explicit SafetyChecker(Session* session);
void run() override;
RecordTrace get_record_trace() override;
std::vector<std::string> get_textual_trace() override;
void run() override;
RecordTrace get_record_trace() override;
std::vector<std::string> get_textual_trace() override;
@@
-39,7
+38,6
@@
private:
std::list<std::unique_ptr<State>> stack_;
VisitedStates visited_states_;
std::unique_ptr<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 mc