Browse Source

support for POMDPs in symoblic description

tempestpy_adaptions
Sebastian Junges 6 years ago
parent
commit
03b5c70c79
  1. 1
      src/storm/storage/SymbolicModelDescription.cpp
  2. 2
      src/storm/storage/SymbolicModelDescription.h

1
src/storm/storage/SymbolicModelDescription.cpp

@ -63,6 +63,7 @@ namespace storm {
case storm::prism::Program::ModelType::DTMC: return SymbolicModelDescription::ModelType::DTMC; case storm::prism::Program::ModelType::DTMC: return SymbolicModelDescription::ModelType::DTMC;
case storm::prism::Program::ModelType::CTMC: return SymbolicModelDescription::ModelType::CTMC; case storm::prism::Program::ModelType::CTMC: return SymbolicModelDescription::ModelType::CTMC;
case storm::prism::Program::ModelType::MDP: return SymbolicModelDescription::ModelType::MDP; case storm::prism::Program::ModelType::MDP: return SymbolicModelDescription::ModelType::MDP;
case storm::prism::Program::ModelType::POMDP: return SymbolicModelDescription::ModelType::POMDP;
case storm::prism::Program::ModelType::MA: return SymbolicModelDescription::ModelType::MA; case storm::prism::Program::ModelType::MA: return SymbolicModelDescription::ModelType::MA;
default: default:
STORM_LOG_THROW(false, storm::exceptions::InvalidTypeException, "Expected other PRISM model type."); STORM_LOG_THROW(false, storm::exceptions::InvalidTypeException, "Expected other PRISM model type.");

2
src/storm/storage/SymbolicModelDescription.h

@ -11,7 +11,7 @@ namespace storm {
class SymbolicModelDescription { class SymbolicModelDescription {
public: public:
enum class ModelType { enum class ModelType {
DTMC, CTMC, MDP, MA
DTMC, CTMC, MDP, MA, POMDP
}; };
SymbolicModelDescription() = default; SymbolicModelDescription() = default;

Loading…
Cancel
Save