I - N - A - V - NSearch - Asearch - public abstract class AOptimalPathInORGraphSearch<I extends GraphSearchInput<N,A>,N,A,V extends java.lang.Comparable<V>> extends ai.libs.jaicore.basic.algorithm.AOptimizer<I,EvaluatedSearchGraphPath<N,A,V>,V> implements IOptimalPathInORGraphSearch<I,N,A,V>
| Modifier | Constructor and Description |
|---|---|
|
AOptimalPathInORGraphSearch(I problem) |
protected |
AOptimalPathInORGraphSearch(ai.libs.jaicore.basic.algorithm.IAlgorithmConfig config,
I problem) |
| Modifier and Type | Method and Description |
|---|---|
GraphGenerator<N,A> |
getGraphGenerator() |
java.lang.String |
getLoggerName() |
EvaluatedSearchSolutionCandidateFoundEvent<N,A,V> |
nextSolutionCandidateEvent() |
protected EvaluatedSearchSolutionCandidateFoundEvent<N,A,V> |
registerSolution(EvaluatedSearchGraphPath<N,A,V> path) |
void |
setLoggerName(java.lang.String name) |
call, 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 AOptimalPathInORGraphSearch(I problem)
protected AOptimalPathInORGraphSearch(ai.libs.jaicore.basic.algorithm.IAlgorithmConfig config,
I problem)
public EvaluatedSearchSolutionCandidateFoundEvent<N,A,V> nextSolutionCandidateEvent() throws java.lang.InterruptedException, ai.libs.jaicore.basic.algorithm.AlgorithmExecutionCanceledException, ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmTimeoutedException, ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmException
nextSolutionCandidateEvent in interface ai.libs.jaicore.basic.algorithm.ISolutionCandidateIterator<I extends GraphSearchInput<N,A>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>>nextSolutionCandidateEvent in class ai.libs.jaicore.basic.algorithm.AOptimizer<I extends GraphSearchInput<N,A>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>,V extends java.lang.Comparable<V>>java.lang.InterruptedExceptionai.libs.jaicore.basic.algorithm.AlgorithmExecutionCanceledExceptionai.libs.jaicore.basic.algorithm.exceptions.AlgorithmTimeoutedExceptionai.libs.jaicore.basic.algorithm.exceptions.AlgorithmExceptionprotected EvaluatedSearchSolutionCandidateFoundEvent<N,A,V> registerSolution(EvaluatedSearchGraphPath<N,A,V> path)
public GraphGenerator<N,A> getGraphGenerator()
getGraphGenerator in interface IGraphSearch<I extends GraphSearchInput<N,A>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>,N,A>public void setLoggerName(java.lang.String name)
public java.lang.String getLoggerName()