Browse Source

substituteFormula now respects shieldExpression

tempestpy_adaptions
Stefan Pranger 4 years ago
parent
commit
72baec5ec1
  1. 1
      src/storm/modelchecker/CheckTask.h

1
src/storm/modelchecker/CheckTask.h

@ -55,6 +55,7 @@ namespace storm {
CheckTask<NewFormulaType, ValueType> substituteFormula(NewFormulaType const& newFormula) const { CheckTask<NewFormulaType, ValueType> substituteFormula(NewFormulaType const& newFormula) const {
CheckTask<NewFormulaType, ValueType> result(newFormula, this->optimizationDirection, this->playerCoalition, this->rewardModel, this->onlyInitialStatesRelevant, this->bound, this->qualitative, this->produceSchedulers, this->hint); CheckTask<NewFormulaType, ValueType> result(newFormula, this->optimizationDirection, this->playerCoalition, this->rewardModel, this->onlyInitialStatesRelevant, this->bound, this->qualitative, this->produceSchedulers, this->hint);
result.updateOperatorInformation(); result.updateOperatorInformation();
if(isShieldingTask()) result.setShieldingExpression(getShieldingExpression());
return result; return result;
} }

Loading…
Cancel
Save