public class GraphSanityChecker<N,A> extends AOptimalPathInORGraphSearch<GraphSearchInput<N,A>,N,A,java.lang.Double>
| Constructor and Description |
|---|
GraphSanityChecker(GraphSearchInput<N,A> problem,
int maxNodesToExpand) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLoggerName() |
SanityCheckResult |
getSanityCheck() |
boolean |
isDetectCycles() |
boolean |
isDetectDeadEnds() |
ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent |
nextWithException() |
void |
setDetectCycles(boolean detectCycles) |
void |
setDetectDeadEnds(boolean detectDeadEnds) |
void |
setLoggerName(java.lang.String name) |
getGraphGenerator, nextSolutionCandidateEvent, registerSolutioncall, getBestSeenSolution, nextSolutionCandidate, setBestSeenSolution, updateBestSeenSolutioncollectAllSolutionsactivate, announceTimeoutDetected, avoidReinterruptionOnShutdownOnCurrentThread, cancel, checkAndConductTermination, checkTermination, computeTimeoutAware, getActivationTime, getConfig, getId, getInput, getNumCPUs, getRemainingTimeToDeadline, getState, getTimeout, getTimeoutPrecautionOffset, hasNext, hasThreadBeenInterruptedDuringShutdown, interruptThreadAsPartOfShutdown, isCanceled, isShutdownInitialized, isStopCriterionSatisfied, isTimeouted, iterator, next, post, registerActiveThread, registerListener, resolveShutdownInterruptOnCurrentThread, setConfig, setMaxNumThreads, setNumCPUs, setState, setTimeout, setTimeout, setTimeoutPrecautionOffset, shutdown, terminate, unregisterActiveThread, unregisterThreadAndShutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextSolutionCandidatepublic GraphSanityChecker(GraphSearchInput<N,A> problem, int maxNodesToExpand)
public ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent nextWithException()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic SanityCheckResult getSanityCheck()
public java.lang.String getLoggerName()
getLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablegetLoggerName in class AOptimalPathInORGraphSearch<GraphSearchInput<N,A>,N,A,java.lang.Double>public void setLoggerName(java.lang.String name)
setLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablesetLoggerName in class AOptimalPathInORGraphSearch<GraphSearchInput<N,A>,N,A,java.lang.Double>public boolean isDetectCycles()
public void setDetectCycles(boolean detectCycles)
public boolean isDetectDeadEnds()
public void setDetectDeadEnds(boolean detectDeadEnds)