| |
|
| java.lang.Object gov.nasa.jpf.search.AbstractSearch
All known Subclasses: gov.nasa.jpf.search.RandomSearch, gov.nasa.jpf.search.heuristic.HeuristicSearch, gov.nasa.jpf.search.DFSearch, gov.nasa.jpf.search.Simulation, gov.nasa.jpf.search.PathSearch,
AbstractSearch | abstract public class AbstractSearch implements Search(Code) | | the mother of all search classes. Mostly takes care of listeners, keeping
track of state attributes and errors. This class mainly keeps the
general search info like depth, configured properties etc.
|
Inner Class :class AbstractSearchState implements SearchState | |
depth | protected int depth(Code) | | |
depthLimit | protected int depthLimit(Code) | | |
doBacktrack | protected boolean doBacktrack(Code) | | |
done | protected boolean done(Code) | | |
isEndState | protected boolean isEndState(Code) | | |
isNewState | protected boolean isNewState(Code) | | |
lastSearchConstraint | protected String lastSearchConstraint(Code) | | |
matchDepth | protected boolean matchDepth(Code) | | |
minFreeMemory | protected long minFreeMemory(Code) | | |
backtrack | protected boolean backtrack()(Code) | | |
checkStateSpaceLimit | boolean checkStateSpaceLimit()(Code) | | check if we have a minimum amount of free memory left. If not, we rather want to stop in time
(with a threshold amount left) so that we can report something useful, and not just die silently
with a OutOfMemoryError (which isn't handled too gracefully by most VMs)
|
forward | protected boolean forward()(Code) | | |
getDepthLimit | public int getDepthLimit()(Code) | | |
getMaxSearchDepth | protected int getMaxSearchDepth()(Code) | | |
getProperties | protected Property getProperties(Config config) throws Config.Exception(Code) | | return set of configured properties
note there is a nameclash here - JPF 'properties' have nothing to do with
Java properties (java.util.Properties)
|
getSearchConstraint | public String getSearchConstraint()(Code) | | |
getSearchDepth | public int getSearchDepth()(Code) | | |
getStateDepth | int getStateDepth(int stateId)(Code) | | |
getStateNumber | public int getStateNumber()(Code) | | |
hasNextState | public boolean hasNextState()(Code) | | |
hasPropertyTermination | protected boolean hasPropertyTermination()(Code) | | |
isEndState | public boolean isEndState()(Code) | | |
isNewState | public boolean isNewState()(Code) | | |
isPropertyViolated | boolean isPropertyViolated()(Code) | | |
isVisitedState | public boolean isVisitedState()(Code) | | |
notifyPropertyViolated | protected void notifyPropertyViolated()(Code) | | |
notifySearchConstraintHit | protected void notifySearchConstraintHit(String constraintId)(Code) | | |
notifySearchFinished | protected void notifySearchFinished()(Code) | | |
notifySearchStarted | protected void notifySearchStarted()(Code) | | |
notifyStateAdvanced | protected void notifyStateAdvanced()(Code) | | |
notifyStateBacktracked | protected void notifyStateBacktracked()(Code) | | |
notifyStateProcessed | protected void notifyStateProcessed()(Code) | | |
notifyStateRestored | protected void notifyStateRestored()(Code) | | |
requestBacktrack | public boolean requestBacktrack()(Code) | | |
restoreState | protected void restoreState(State state)(Code) | | |
setStateDepth | void setStateDepth(int stateId, int depth)(Code) | | |
supportsBacktrack | public boolean supportsBacktrack()(Code) | | |
supportsRestoreState | public boolean supportsRestoreState()(Code) | | |
|
|
|