N - A - public class DepthFirstSearch<N,A> extends AAnyPathInORGraphSearch<GraphSearchInput<N,A>,SearchGraphPath<N,A>,N,A> implements ai.libs.jaicore.basic.ILoggingCustomizable
| Constructor and Description |
|---|
DepthFirstSearch(GraphSearchInput<N,A> problem) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<N> |
getCurrentPath() |
int[] |
getDecisionIndicesForCurrentPath() |
java.lang.String |
getLoggerName() |
ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent |
nextWithException() |
void |
setCurrentPath(int... decisions) |
void |
setCurrentPath(java.util.List<N> path) |
void |
setLoggerName(java.lang.String name) |
getGraphGenerator, registerSolutioncall, collectAllSolutions, nextSolutionCandidate, nextSolutionCandidateEventactivate, 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, waitnextSolutionCandidate, nextSolutionCandidateEventpublic DepthFirstSearch(GraphSearchInput<N,A> problem)
public ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent nextWithException()
throws java.lang.InterruptedException,
ai.libs.jaicore.basic.algorithm.AlgorithmExecutionCanceledException,
ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmTimeoutedException,
ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmException
nextWithException in interface ai.libs.jaicore.basic.algorithm.IAlgorithm<GraphSearchInput<N,A>,SearchGraphPath<N,A>>java.lang.InterruptedExceptionai.libs.jaicore.basic.algorithm.AlgorithmExecutionCanceledExceptionai.libs.jaicore.basic.algorithm.exceptions.AlgorithmTimeoutedExceptionai.libs.jaicore.basic.algorithm.exceptions.AlgorithmExceptionpublic java.util.List<N> getCurrentPath()
public int[] getDecisionIndicesForCurrentPath()
public void setCurrentPath(java.util.List<N> path)
public void setCurrentPath(int... decisions)
public void setLoggerName(java.lang.String name)
setLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablesetLoggerName in class AAnyPathInORGraphSearch<GraphSearchInput<N,A>,SearchGraphPath<N,A>,N,A>public java.lang.String getLoggerName()
getLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablegetLoggerName in class AAnyPathInORGraphSearch<GraphSearchInput<N,A>,SearchGraphPath<N,A>,N,A>