I - N - A - V - public class IteratingGraphSearchOptimizer<I extends GraphSearchWithPathEvaluationsInput<N,A,V>,N,A,V extends java.lang.Comparable<V>> extends AOptimalPathInORGraphSearch<I,N,A,V>
| Constructor and Description |
|---|
IteratingGraphSearchOptimizer(I problem,
IGraphSearch<GraphSearchInput<N,A>,SearchGraphPath<N,A>,N,A> baseAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
IGraphSearch<GraphSearchInput<N,A>,SearchGraphPath<N,A>,N,A> |
getBaseAlgorithm() |
boolean |
hasNext() |
ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent |
nextWithException() |
getGraphGenerator, getLoggerName, nextSolutionCandidateEvent, registerSolution, setLoggerNamecall, getBestSeenSolution, nextSolutionCandidate, setBestSeenSolution, updateBestSeenSolutioncollectAllSolutionsactivate, announceTimeoutDetected, avoidReinterruptionOnShutdownOnCurrentThread, cancel, checkAndConductTermination, checkTermination, computeTimeoutAware, getActivationTime, getConfig, getId, getInput, getNumCPUs, getRemainingTimeToDeadline, getState, getTimeout, getTimeoutPrecautionOffset, 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 IteratingGraphSearchOptimizer(I problem, IGraphSearch<GraphSearchInput<N,A>,SearchGraphPath<N,A>,N,A> baseAlgorithm)
public boolean hasNext()
hasNext in interface java.util.Iterator<ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent>hasNext in class ai.libs.jaicore.basic.algorithm.AAlgorithm<I extends GraphSearchWithPathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>>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
java.lang.InterruptedExceptionai.libs.jaicore.basic.algorithm.AlgorithmExecutionCanceledExceptionai.libs.jaicore.basic.algorithm.exceptions.AlgorithmTimeoutedExceptionai.libs.jaicore.basic.algorithm.exceptions.AlgorithmExceptionpublic IGraphSearch<GraphSearchInput<N,A>,SearchGraphPath<N,A>,N,A> getBaseAlgorithm()