Browse Source

SymbolicModel: getRewardModels.

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
e847d71e13
  1. 5
      src/storm/models/symbolic/Model.cpp
  2. 2
      src/storm/models/symbolic/Model.h

5
src/storm/models/symbolic/Model.cpp

@ -193,6 +193,11 @@ namespace storm {
return !this->rewardModels.empty();
}
template<storm::dd::DdType Type, typename ValueType>
std::unordered_map<std::string, typename Model<Type, ValueType>::RewardModelType> const& Model<Type, ValueType>::getRewardModels() const {
return this->rewardModels;
}
template<storm::dd::DdType Type, typename ValueType>
void Model<Type, ValueType>::printModelInformationToStream(std::ostream& out) const {
this->printModelInformationHeaderToStream(out);

2
src/storm/models/symbolic/Model.h

@ -247,6 +247,8 @@ namespace storm {
*/
bool hasRewardModel() const;
std::unordered_map<std::string, RewardModelType> const& getRewardModels() const;
/*!
* Retrieves the number of reward models associated with this model.
*

Loading…
Cancel
Save