Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ModelBase.cpp
Go to the documentation of this file.
2
3#include <initializer_list>
4
5namespace storm {
6namespace models {
8 return modelType;
9}
10
12 return false;
13}
14
16 return false;
17}
18
19bool ModelBase::isOfType(storm::models::ModelType const& modelType) const {
20 return this->getType() == modelType;
21}
22
24 for (auto const& type :
26 if (this->isOfType(type)) {
27 return true;
28 }
29 }
30 return false;
31}
32
35 if (this->isOfType(type)) {
36 return true;
37 }
38 }
39 return false;
40}
41
43 return false;
44}
45
47 return false;
48}
49
51 return false;
52}
53
54bool ModelBase::isExact() const {
55 return false;
56}
57} // namespace models
58} // namespace storm
virtual bool isExact() const
Checks whether the model is exact.
Definition ModelBase.cpp:54
virtual bool isSymbolicModel() const
Checks whether the model is a symbolic model.
Definition ModelBase.cpp:15
bool isNondeterministicModel() const
Returns true if the model is a nondeterministic model.
Definition ModelBase.cpp:23
bool isDiscreteTimeModel() const
Returns true if the model is a descrete-time model.
Definition ModelBase.cpp:33
virtual bool hasParameters() const
Checks whether the model has parameters.
Definition ModelBase.cpp:50
virtual ModelType getType() const
Return the actual type of the model.
Definition ModelBase.cpp:7
virtual bool isSparseModel() const
Checks whether the model is a sparse model.
Definition ModelBase.cpp:11
bool isOfType(storm::models::ModelType const &modelType) const
Checks whether the model is of the given type.
Definition ModelBase.cpp:19
virtual bool isPartiallyObservable() const
Definition ModelBase.cpp:42
virtual bool supportsParameters() const
Checks whether the model supports parameters.
Definition ModelBase.cpp:46
LabParser.cpp.
Definition cli.cpp:18