Browse Source

fix stupid mistake that made subsequent searches mostly unsat by setting scheduler var to wrong value

tempestpy_adaptions
Sebastian Junges 5 years ago
parent
commit
498067816d
  1. 2
      src/storm-pomdp/analysis/MemlessStrategySearchQualitative.cpp

2
src/storm-pomdp/analysis/MemlessStrategySearchQualitative.cpp

@ -645,7 +645,7 @@ namespace storm {
for (auto obs : newObservationsAfterSwitch) {
observationsAfterSwitch.set(obs);
scheduler.schedulerRef[obs] = model->getIntegerValue(schedulerVariables[obs]);
smtSolver->add(schedulerVariableExpressions[obs] == expressionManager->integer(scheduler.schedulerRef.back()));
smtSolver->add(schedulerVariableExpressions[obs] == expressionManager->integer(scheduler.schedulerRef[obs]));
}
if(options.computeTraceOutput()) {

Loading…
Cancel
Save