Browse Source

jani set model type, useful to change from dtmc to mdp semantics -- be careful in usage though

tempestpy_adaptions
Sebastian Junges 6 years ago
parent
commit
9d78c8d22c
  1. 4
      src/storm/storage/jani/Model.cpp
  2. 6
      src/storm/storage/jani/Model.h

4
src/storm/storage/jani/Model.cpp

@ -118,6 +118,10 @@ namespace storm {
return modelType;
}
void Model::setModelType(ModelType const& newModelType) {
modelType = newModelType;
}
ModelFeatures const& Model::getModelFeatures() const {
return modelFeatures;
}

6
src/storm/storage/jani/Model.h

@ -80,6 +80,12 @@ namespace storm {
*/
ModelType const& getModelType() const;
/*!
* Changes (only) the type declaration of the model. Notice that this operation should be applied with great care, as it may break several algorithms.
* The operation is useful to e.g. make a deterministic model into a non-deterministic one.
*/
void setModelType(ModelType const&);
/*!
* Retrieves the enabled model features
*/

Loading…
Cancel
Save