|
@ -17,6 +17,8 @@ namespace storm { |
|
|
return ModelType::MarkovAutomaton; |
|
|
return ModelType::MarkovAutomaton; |
|
|
} else if (type == "S2PG") { |
|
|
} else if (type == "S2PG") { |
|
|
return ModelType::S2pg; |
|
|
return ModelType::S2pg; |
|
|
|
|
|
} else if (type == "Pomdp") { |
|
|
|
|
|
return ModelType::Pomdp; |
|
|
} else { |
|
|
} else { |
|
|
STORM_LOG_THROW(false, storm::exceptions::InvalidTypeException, "Type " << type << "not known."); |
|
|
STORM_LOG_THROW(false, storm::exceptions::InvalidTypeException, "Type " << type << "not known."); |
|
|
} |
|
|
} |
|
@ -39,6 +41,9 @@ namespace storm { |
|
|
case ModelType::S2pg: |
|
|
case ModelType::S2pg: |
|
|
os << "S2PG"; |
|
|
os << "S2PG"; |
|
|
break; |
|
|
break; |
|
|
|
|
|
case ModelType::Pomdp: |
|
|
|
|
|
os << "POMDP"; |
|
|
|
|
|
break; |
|
|
default: |
|
|
default: |
|
|
STORM_LOG_THROW(false, storm::exceptions::InvalidTypeException, "Unknown model type."); |
|
|
STORM_LOG_THROW(false, storm::exceptions::InvalidTypeException, "Unknown model type."); |
|
|
} |
|
|
} |
|
|