You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
979 B
37 lines
979 B
#include "storm/models/ModelBase.h"
|
|
|
|
namespace storm {
|
|
namespace models {
|
|
ModelType ModelBase::getType() const {
|
|
return modelType;
|
|
}
|
|
|
|
bool ModelBase::isSparseModel() const {
|
|
return false;
|
|
}
|
|
|
|
bool ModelBase::isSymbolicModel() const {
|
|
return false;
|
|
}
|
|
|
|
bool ModelBase::isOfType(storm::models::ModelType const& modelType) const {
|
|
return this->getType() == modelType;
|
|
}
|
|
|
|
bool ModelBase::isNondeterministicModel() const {
|
|
return this->isOfType(storm::models::ModelType::Mdp) || this->isOfType(storm::models::ModelType::MarkovAutomaton);
|
|
}
|
|
|
|
bool ModelBase::supportsParameters() const {
|
|
return false;
|
|
}
|
|
|
|
bool ModelBase::hasParameters() const {
|
|
return false;
|
|
}
|
|
|
|
bool ModelBase::isExact() const {
|
|
return false;
|
|
}
|
|
}
|
|
}
|