public abstract class NewSimplePriorityHeuristic extends NewHeuristicSearch
Modifier and Type | Field and Description |
---|---|
protected Predicate<ThreadInfo> |
aliveThread |
childStates, isBeamSearch, isPathSensitive, parentState, useAstar
config, currentError, depth, depthLimit, doBacktrack, done, errors, getAllErrors, lastSearchConstraint, listeners, log, matchDepth, minFreeMemory, notifyProbeListeners, properties, reporter, stateDepth, vm
Constructor and Description |
---|
NewSimplePriorityHeuristic(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, supportsBacktrack
addListener, 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, transitionOccurred
protected Predicate<ThreadInfo> aliveThread
protected abstract int computeHeuristicValue()
protected int computeAstarPathCost(VM vm)
protected HeuristicState queueCurrentState()
queueCurrentState
in class NewHeuristicSearch
protected HeuristicState getNextQueuedState()
getNextQueuedState
in class NewHeuristicSearch
public int getQueueSize()
getQueueSize
in class NewHeuristicSearch
public boolean isQueueLimitReached()
isQueueLimitReached
in class NewHeuristicSearch