Storm 1.10.0.1
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
19std::optional<storm::dd::DdType> ModelBase::getDdType() const {
20 return std::nullopt;
21}
22
24 return false;
25}
26
27bool ModelBase::isOfType(storm::models::ModelType const& modelType) const {
28 return this->getType() == modelType;
29}
30
32 for (auto const& type :
34 if (this->isOfType(type)) {
35 return true;
36 }
37 }
38 return false;
39}
40
43 if (this->isOfType(type)) {
44 return true;
45 }
46 }
47 return false;
48}
49
51 return false;
52}
53
55 return false;
56}
57
59 return false;
60}
61
62bool ModelBase::isExact() const {
63 return false;
64}
65} // namespace models
66} // namespace storm
virtual bool isExact() const
Checks whether the model is exact.
Definition ModelBase.cpp:62
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:31
virtual std::optional< storm::dd::DdType > getDdType() const
Definition ModelBase.cpp:19
bool isDiscreteTimeModel() const
Returns true if the model is a descrete-time model.
Definition ModelBase.cpp:41
virtual bool hasParameters() const
Checks whether the model has parameters.
Definition ModelBase.cpp:58
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:27
virtual bool isPartiallyObservable() const
Definition ModelBase.cpp:50
virtual bool supportsUncertainty() const
Does it support uncertainty (e.g., via interval-valued entries).
Definition ModelBase.cpp:23
virtual bool supportsParameters() const
Checks whether the model supports parameters.
Definition ModelBase.cpp:54
LabParser.cpp.