T - A - V - public class AwaStarSearch<I extends GraphSearchWithSubpathEvaluationsInput<T,A,V>,T,A,V extends java.lang.Comparable<V>> extends AOptimalPathInORGraphSearch<I,T,A,V>
| Constructor and Description |
|---|
AwaStarSearch(I problem) |
| Modifier and Type | Method and Description |
|---|---|
GraphGenerator<T,A> |
getGraphGenerator() |
java.lang.String |
getLoggerName() |
int |
getNumCPUs() |
ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent |
nextWithException() |
void |
receiveSolutionEvent(EvaluatedSearchSolutionCandidateFoundEvent<T,A,V> solutionEvent) |
EvaluatedSearchSolutionCandidateFoundEvent<T,A,V> |
registerNewSolutionCandidate(EvaluatedSearchGraphPath<T,A,V> solution) |
void |
setLoggerName(java.lang.String name) |
void |
setNumCPUs(int numberOfCPUs) |
protected void |
shutdown() |
nextSolutionCandidateEvent, registerSolutioncall, getBestSeenSolution, nextSolutionCandidate, setBestSeenSolution, updateBestSeenSolutioncollectAllSolutionsactivate, announceTimeoutDetected, avoidReinterruptionOnShutdownOnCurrentThread, cancel, checkAndConductTermination, checkTermination, computeTimeoutAware, getActivationTime, getConfig, getId, getInput, getRemainingTimeToDeadline, getState, getTimeout, getTimeoutPrecautionOffset, hasNext, hasThreadBeenInterruptedDuringShutdown, interruptThreadAsPartOfShutdown, isCanceled, isShutdownInitialized, isStopCriterionSatisfied, isTimeouted, iterator, next, post, registerActiveThread, registerListener, resolveShutdownInterruptOnCurrentThread, setConfig, setMaxNumThreads, setState, setTimeout, setTimeout, setTimeoutPrecautionOffset, terminate, unregisterActiveThread, unregisterThreadAndShutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextSolutionCandidatepublic AwaStarSearch(I problem)
public void receiveSolutionEvent(EvaluatedSearchSolutionCandidateFoundEvent<T,A,V> solutionEvent)
public EvaluatedSearchSolutionCandidateFoundEvent<T,A,V> registerNewSolutionCandidate(EvaluatedSearchGraphPath<T,A,V> solution)
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.AlgorithmExceptionprotected void shutdown()
shutdown in class ai.libs.jaicore.basic.algorithm.AAlgorithm<I extends GraphSearchWithSubpathEvaluationsInput<T,A,V>,EvaluatedSearchGraphPath<T,A,V extends java.lang.Comparable<V>>>public void setNumCPUs(int numberOfCPUs)
setNumCPUs in interface ai.libs.jaicore.basic.algorithm.IAlgorithm<I extends GraphSearchWithSubpathEvaluationsInput<T,A,V>,EvaluatedSearchGraphPath<T,A,V extends java.lang.Comparable<V>>>setNumCPUs in class ai.libs.jaicore.basic.algorithm.AAlgorithm<I extends GraphSearchWithSubpathEvaluationsInput<T,A,V>,EvaluatedSearchGraphPath<T,A,V extends java.lang.Comparable<V>>>public int getNumCPUs()
getNumCPUs in interface ai.libs.jaicore.basic.algorithm.IAlgorithm<I extends GraphSearchWithSubpathEvaluationsInput<T,A,V>,EvaluatedSearchGraphPath<T,A,V extends java.lang.Comparable<V>>>getNumCPUs in class ai.libs.jaicore.basic.algorithm.AAlgorithm<I extends GraphSearchWithSubpathEvaluationsInput<T,A,V>,EvaluatedSearchGraphPath<T,A,V extends java.lang.Comparable<V>>>public GraphGenerator<T,A> getGraphGenerator()
getGraphGenerator in interface IGraphSearch<I extends GraphSearchWithSubpathEvaluationsInput<T,A,V>,EvaluatedSearchGraphPath<T,A,V extends java.lang.Comparable<V>>,T,A>getGraphGenerator in class AOptimalPathInORGraphSearch<I extends GraphSearchWithSubpathEvaluationsInput<T,A,V>,T,A,V extends java.lang.Comparable<V>>public void setLoggerName(java.lang.String name)
setLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablesetLoggerName in class AOptimalPathInORGraphSearch<I extends GraphSearchWithSubpathEvaluationsInput<T,A,V>,T,A,V extends java.lang.Comparable<V>>public java.lang.String getLoggerName()
getLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablegetLoggerName in class AOptimalPathInORGraphSearch<I extends GraphSearchWithSubpathEvaluationsInput<T,A,V>,T,A,V extends java.lang.Comparable<V>>