|
@ -310,6 +310,11 @@ namespace storm { |
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
template<typename ValueType, typename RewardModelType> |
|
|
|
|
|
bool Model<ValueType, RewardModelType>::isParametric() const { |
|
|
|
|
|
return std::is_same<ValueType, storm::RationalFunction>::value; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
template<typename ValueType, typename RewardModelType> |
|
|
template<typename ValueType, typename RewardModelType> |
|
|
std::unordered_map<std::string, RewardModelType>& Model<ValueType, RewardModelType>::getRewardModels() { |
|
|
std::unordered_map<std::string, RewardModelType>& Model<ValueType, RewardModelType>::getRewardModels() { |
|
|
return this->rewardModels; |
|
|
return this->rewardModels; |
|
@ -320,6 +325,8 @@ namespace storm { |
|
|
return this->rewardModels; |
|
|
return this->rewardModels; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::set<storm::Variable> getProbabilityParameters(Model<storm::RationalFunction> const& model) { |
|
|
std::set<storm::Variable> getProbabilityParameters(Model<storm::RationalFunction> const& model) { |
|
|
return storm::storage::getVariables(model.getTransitionMatrix()); |
|
|
return storm::storage::getVariables(model.getTransitionMatrix()); |
|
|
} |
|
|
} |
|
|