public abstract class SimplePriorityHeuristic extends HeuristicSearch
| Modifier and Type | Field and Description |
|---|---|
protected Predicate<ThreadInfo> |
aliveThread |
childStates, isBeamSearch, isPathSensitive, parentState, useAstarconfig, currentError, depth, depthLimit, doBacktrack, done, errors, getAllErrors, lastSearchConstraint, listeners, log, matchDepth, minFreeMemory, notifyProbeListeners, properties, reporter, stateDepth, vm| Constructor and Description |
|---|
SimplePriorityHeuristic(Config config,
VM vm) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
computeAstarPathCost(VM vm) |
protected abstract int |
computeHeuristicValue() |
protected HeuristicState |
getNextQueuedState() |
int |
getQueueSize() |
boolean |
isQueueLimitReached() |
protected HeuristicState |
queueCurrentState() |
generateChildren, getChildStates, getParentState, search, setPathSensitive, supportsBacktrackaddListener, addProperty, backtrack, checkAndResetBacktrackRequest, checkAndResetProbeRequest, checkPropertyViolation, checkStateSpaceLimit, cleanUp, error, error, forward, getConfig, getCurrentError, getDepth, getDepthLimit, getErrors, getLastError, getLastSearchConstraint, getNextListenerOfType, getNumberOfErrors, getProperties, getPurgedStateId, getSearchConstraint, getSearchState, getStateDepth, getStateId, getTransition, getVM, hasErrors, hasListenerOfType, hasNextState, hasPropertyTermination, initialize, isDone, isEndState, isErrorState, isIgnoredState, isNewState, isProcessedState, isVisitedState, notifyPropertyViolated, notifySearchConstraintHit, notifySearchFinished, notifySearchProbed, notifySearchStarted, notifyStateAdvanced, notifyStateBacktracked, notifyStateProcessed, notifyStatePurged, notifyStateRestored, notifyStateStored, probeSearch, removeListener, removeProperty, requestBacktrack, resetProperties, restoreState, setDepthLimit, setIgnoredState, setReporter, setStateDepth, supportsRestoreState, terminate, transitionOccurredprotected Predicate<ThreadInfo> aliveThread
protected abstract int computeHeuristicValue()
protected int computeAstarPathCost(VM vm)
protected HeuristicState queueCurrentState()
queueCurrentState in class HeuristicSearchprotected HeuristicState getNextQueuedState()
getNextQueuedState in class HeuristicSearchpublic int getQueueSize()
getQueueSize in class HeuristicSearchpublic boolean isQueueLimitReached()
isQueueLimitReached in class HeuristicSearch