Browse Source

Restored functionality of --firstdep

tempestpy_adaptions
Matthias Volk 5 years ago
parent
commit
003d2024c1
  1. 6
      src/storm-dft/generator/DftNextStateGenerator.cpp

6
src/storm-dft/generator/DftNextStateGenerator.cpp

@ -120,8 +120,14 @@ namespace storm {
Choice<ValueType, StateType> choice(0, !exploreDependencies);
// Let BE fail
bool isFirst = true;
while (!state->getFailableElements().isEnd()) {
//TODO outside
if (takeFirstDependency && exploreDependencies && !isFirst) {
// We discard further exploration as we already chose one dependent event
break;
}
isFirst = false;
// Construct new state as copy from original one
DFTStatePointer newState = state->copy();

Loading…
Cancel
Save