Browse Source

dd-based policy iteration appears to be working

tempestpy_adaptions
dehnert 8 years ago
parent
commit
b811ebcf88
  1. 2
      src/storm/solver/SymbolicMinMaxLinearEquationSolver.cpp

2
src/storm/solver/SymbolicMinMaxLinearEquationSolver.cpp

@ -156,6 +156,8 @@ namespace storm {
// Policy improvement step. // Policy improvement step.
storm::dd::Add<DdType, ValueType> tmp = this->A.multiplyMatrix(schedulerX.swapVariables(this->rowColumnMetaVariablePairs), this->columnMetaVariables); storm::dd::Add<DdType, ValueType> tmp = this->A.multiplyMatrix(schedulerX.swapVariables(this->rowColumnMetaVariablePairs), this->columnMetaVariables);
tmp += b;
storm::dd::Bdd<DdType> nextScheduler; storm::dd::Bdd<DdType> nextScheduler;
if (minimize) { if (minimize) {
tmp += illegalMaskAdd; tmp += illegalMaskAdd;

Loading…
Cancel
Save