T - a nodes external label i.e. a state of a problemA - action (action space of problem)public class RStar<T,A> extends AOptimalPathInORGraphSearch<GraphSearchWithNumberBasedAdditivePathEvaluationAndSubPathHeuristic<T,A>,T,A,java.lang.Double>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.ArrayList<GammaNode<T>> |
closed |
protected java.util.PriorityQueue<GammaNode<T>> |
open |
protected double |
w |
| Constructor and Description |
|---|
RStar(GraphSearchWithNumberBasedAdditivePathEvaluationAndSubPathHeuristic<T,A> problem,
double w,
int k,
double delta) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
java.lang.String |
getLoggerName() |
ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent |
nextWithException() |
void |
setLoggerName(java.lang.String name) |
getGraphGenerator, nextSolutionCandidateEvent, registerSolutioncall, getBestSeenSolution, nextSolutionCandidate, setBestSeenSolution, updateBestSeenSolutioncollectAllSolutionsactivate, announceTimeoutDetected, avoidReinterruptionOnShutdownOnCurrentThread, 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 RStar(GraphSearchWithNumberBasedAdditivePathEvaluationAndSubPathHeuristic<T,A> problem, double w, int k, double delta)
gammaGraphGenerator - w - k - delta - public ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent nextWithException()
throws java.lang.InterruptedException,
ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmException,
ai.libs.jaicore.basic.algorithm.AlgorithmExecutionCanceledException,
ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmTimeoutedException
java.lang.InterruptedExceptionai.libs.jaicore.basic.algorithm.exceptions.AlgorithmExceptionai.libs.jaicore.basic.algorithm.AlgorithmExecutionCanceledExceptionai.libs.jaicore.basic.algorithm.exceptions.AlgorithmTimeoutedExceptionpublic void setLoggerName(java.lang.String name)
setLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablesetLoggerName in class AOptimalPathInORGraphSearch<GraphSearchWithNumberBasedAdditivePathEvaluationAndSubPathHeuristic<T,A>,T,A,java.lang.Double>public java.lang.String getLoggerName()
getLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablegetLoggerName in class AOptimalPathInORGraphSearch<GraphSearchWithNumberBasedAdditivePathEvaluationAndSubPathHeuristic<T,A>,T,A,java.lang.Double>public void cancel()
cancel in interface ai.libs.jaicore.basic.Cancelablecancel in class ai.libs.jaicore.basic.algorithm.AAlgorithm<GraphSearchWithNumberBasedAdditivePathEvaluationAndSubPathHeuristic<T,A>,EvaluatedSearchGraphPath<T,A,java.lang.Double>>