|
|
@ -471,7 +471,7 @@ namespace storm { |
|
|
|
if (rewardModel.get().hasStateActionRewards()) { |
|
|
|
for (auto const& stateActionReward : rewardModel.get().getStateActionRewards()) { |
|
|
|
if (stateActionReward.getActionIndex() == choice.getActionIndex() && this->evaluator.asBool(stateActionReward.getStatePredicateExpression())) { |
|
|
|
stateActionRewardValue += ValueType(this->evaluator.asRational(stateActionReward.getRewardValueExpression())) * choice.getTotalMass(); |
|
|
|
stateActionRewardValue += ValueType(this->evaluator.asRational(stateActionReward.getRewardValueExpression())); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|