Browse Source

Merge remote-tracking branch 'origin/future' into TimParamSysAndSMT

Former-commit-id: 1f3cf9ce9b
tempestpy_adaptions
TimQu 9 years ago
parent
commit
f98f701e05
  1. 7
      src/storage/bisimulation/BisimulationDecomposition.cpp

7
src/storage/bisimulation/BisimulationDecomposition.cpp

@ -86,6 +86,13 @@ namespace storm {
if (formula.isProbabilityOperatorFormula()) {
if (formula.asProbabilityOperatorFormula().hasOptimalityType()) {
optimalityType = formula.asProbabilityOperatorFormula().getOptimalityType();
} else if (formula.asProbabilityOperatorFormula().hasBound()) {
storm::logic::ComparisonType comparisonType = formula.asProbabilityOperatorFormula().getComparisonType();
if (comparisonType == storm::logic::ComparisonType::Less || comparisonType == storm::logic::ComparisonType::LessEqual) {
optimalityType = OptimizationDirection::Maximize;
} else {
optimalityType = OptimizationDirection::Minimize;
}
}
newFormula = formula.asProbabilityOperatorFormula().getSubformula().asSharedPointer();
} else if (formula.isRewardOperatorFormula()) {

Loading…
Cancel
Save