Browse Source

Removed debug output.

Former-commit-id: 62786132db
tempestpy_adaptions
dehnert 10 years ago
parent
commit
27b630bccc
  1. 2
      src/adapters/ExplicitModelAdapter.h

2
src/adapters/ExplicitModelAdapter.h

@ -540,7 +540,6 @@ namespace storm {
// Now add all rewards that match this choice. // Now add all rewards that match this choice.
for (auto const& transitionReward : transitionRewards) { for (auto const& transitionReward : transitionRewards) {
std::cout << transitionReward.getStatePredicateExpression() << std::endl;
if (transitionReward.getActionName() == "" && transitionReward.getStatePredicateExpression().evaluateAsBool(stateInformation.reachableStates.at(currentState))) { if (transitionReward.getActionName() == "" && transitionReward.getStatePredicateExpression().evaluateAsBool(stateInformation.reachableStates.at(currentState))) {
stateToRewardMap[stateProbabilityPair.first] += eval.evaluate(transitionReward.getRewardValueExpression(),stateInformation.reachableStates.at(currentState)); stateToRewardMap[stateProbabilityPair.first] += eval.evaluate(transitionReward.getRewardValueExpression(),stateInformation.reachableStates.at(currentState));
} }
@ -561,7 +560,6 @@ namespace storm {
} }
} }
// Now add the resulting distribution as the only choice of the current state. // Now add the resulting distribution as the only choice of the current state.
choiceLabels.push_back(globalChoice.getChoiceLabels()); choiceLabels.push_back(globalChoice.getChoiceLabels());

Loading…
Cancel
Save