Browse Source

Consider dependencies in DFS for state generation info

Former-commit-id: c61210cbd5
tempestpy_adaptions
Mavo 9 years ago
parent
commit
74b512a76e
  1. 10
      src/storage/dft/DFT.cpp

10
src/storage/dft/DFT.cpp

@ -80,12 +80,6 @@ namespace storm {
std::queue<size_t> visitQueue;
std::set<size_t> visited;
visitQueue.push(subTreeRoots[0]);
bool consideredDependencies = false;
while (true) {
if (consideredDependencies) {
break;
}
stateIndex = performStateGenerationInfoDFS(generationInfo, visitQueue, visited, stateIndex);
// Consider dependencies
@ -95,8 +89,8 @@ namespace storm {
visitQueue.push(dependency->triggerEvent()->id());
visitQueue.push(dependency->dependentEvent()->id());
}
consideredDependencies = true;
}
stateIndex = performStateGenerationInfoDFS(generationInfo, visitQueue, visited, stateIndex);
assert(stateIndex = mStateVectorSize);
STORM_LOG_TRACE(generationInfo);

Loading…
Cancel
Save