|
@ -72,7 +72,7 @@ namespace storm { |
|
|
std::cout << i++ << "/" << modifications.size() << std::endl; |
|
|
std::cout << i++ << "/" << modifications.size() << std::endl; |
|
|
rewardModel.setStateActionReward(mod.first, mod.second); |
|
|
rewardModel.setStateActionReward(mod.first, mod.second); |
|
|
} |
|
|
} |
|
|
}; |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
template<typename ValueType, typename RewardModelType> |
|
|
template<typename ValueType, typename RewardModelType> |
|
|
template<typename T> |
|
|
template<typename T> |
|
@ -81,7 +81,7 @@ namespace storm { |
|
|
for(auto const& mod : modifications) { |
|
|
for(auto const& mod : modifications) { |
|
|
rewardModel.setStateReward(mod.first, mod.second); |
|
|
rewardModel.setStateReward(mod.first, mod.second); |
|
|
} |
|
|
} |
|
|
}; |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
template<typename ValueType, typename RewardModelType> |
|
|
template<typename ValueType, typename RewardModelType> |
|
|
void NondeterministicModel<ValueType, RewardModelType>::reduceToStateBasedRewards() { |
|
|
void NondeterministicModel<ValueType, RewardModelType>::reduceToStateBasedRewards() { |
|
|