Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SchedulerClass.cpp
Go to the documentation of this file.
2
4
5namespace storm {
6namespace storage {
7SchedulerClass::SchedulerClass() : deterministic(false), memorystates(0), memoryPattern(MemoryPattern::Arbitrary) {
8 // Intentionally left empty
9}
10
12 return deterministic;
13}
14
16 return memorystates > 0;
17}
18
20 STORM_LOG_ASSERT(isMemoryBounded(), "Tried to retrieve the number of memory states although it is not bounded.");
21 return memorystates;
22}
23
27
31
33 deterministic = value;
34 return *this;
35}
36
38 STORM_LOG_ASSERT(value > 0, "Can not set the number of memory states to zero.");
39 memorystates = value;
40 return *this;
41}
42
44 memorystates = 0;
45 return *this;
46}
47
49 memoryPattern = pattern;
50 return *this;
51}
52
58
59} // namespace storage
60} // namespace storm
SchedulerClass & setMemoryStates(uint64_t value)
SchedulerClass & unsetMemoryStates()
SchedulerClass & setMemoryPattern(MemoryPattern const &pattern)
SchedulerClass & setIsDeterministic(bool value=true)
MemoryPattern getMemoryPattern() const
#define STORM_LOG_ASSERT(cond, message)
Definition macros.h:11
LabParser.cpp.
Definition cli.cpp:18