|
@ -33,12 +33,12 @@ namespace storm { |
|
|
matrixBuilder(!generator.isDeterministicModel()), |
|
|
matrixBuilder(!generator.isDeterministicModel()), |
|
|
stateStorage(((dft.stateVectorSize() / 64) + 1) * 64), |
|
|
stateStorage(((dft.stateVectorSize() / 64) + 1) * 64), |
|
|
// TODO Matthias: make choosable
|
|
|
// TODO Matthias: make choosable
|
|
|
//explorationQueue(dft.nrElements()+1, 0, 1)
|
|
|
|
|
|
explorationQueue(1001, 0, 0.001) |
|
|
|
|
|
|
|
|
explorationQueue(dft.nrElements()+1, 0, 1) |
|
|
|
|
|
//explorationQueue(1001, 0, 0.001)
|
|
|
{ |
|
|
{ |
|
|
// Intentionally left empty.
|
|
|
// Intentionally left empty.
|
|
|
// TODO Matthias: remove again
|
|
|
// TODO Matthias: remove again
|
|
|
heuristic = storm::builder::ApproximationHeuristic::PROBABILITY; |
|
|
|
|
|
|
|
|
heuristic = storm::builder::ApproximationHeuristic::NONE; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
template<typename ValueType, typename StateType> |
|
|
template<typename ValueType, typename StateType> |
|
@ -266,8 +266,8 @@ namespace storm { |
|
|
// Try to explore the next state
|
|
|
// Try to explore the next state
|
|
|
generator.load(currentState); |
|
|
generator.load(currentState); |
|
|
|
|
|
|
|
|
if (nrExpandedStates > approximationThreshold && !currentExplorationHeuristic->isExpand()) { |
|
|
|
|
|
//if (currentExplorationHeuristic->isSkip(approximationThreshold)) {
|
|
|
|
|
|
|
|
|
//if (nrExpandedStates > approximationThreshold && !currentExplorationHeuristic->isExpand()) {
|
|
|
|
|
|
if (currentExplorationHeuristic->isSkip(approximationThreshold)) { |
|
|
// Skip the current state
|
|
|
// Skip the current state
|
|
|
++nrSkippedStates; |
|
|
++nrSkippedStates; |
|
|
STORM_LOG_TRACE("Skip expansion of state: " << dft.getStateString(currentState)); |
|
|
STORM_LOG_TRACE("Skip expansion of state: " << dft.getStateString(currentState)); |
|
|