Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
AssignmentLevelFinder.cpp
Go to the documentation of this file.
2
3namespace storm {
4namespace jani {
5
7 int64_t res = std::numeric_limits<int64_t>::max();
9 return res;
10}
11
12void AssignmentLevelFinder::traverse(Assignment const& assignment, boost::any const& data) {
13 auto& res = *boost::any_cast<int64_t*>(data);
14 res = std::min<int64_t>(res, assignment.getLevel());
15}
16} // namespace jani
17} // namespace storm
int64_t getLevel() const
Retrieves the level of the assignment.
virtual void traverse(Assignment const &assignment, boost::any const &data) override
int64_t getLowestAssignmentLevel(Model const &model)
virtual void traverse(Model const &model, boost::any const &data)
LabParser.cpp.
Definition cli.cpp:18