P - class of the HTN planning problemS - class of the graph search problem input to which the HTN problem is reducedN - class of the nodes in the search problemA - class of the edges in the search problemV - evaluation of solutionspublic class GraphSearchBasedHTNPlanningAlgorithm<P extends IHTNPlanningProblem,S extends ai.libs.jaicore.search.probleminputs.GraphSearchInput<N,A>,N,A,V extends java.lang.Comparable<V>> extends ai.libs.jaicore.basic.algorithm.AOptimizer<P,EvaluatedSearchGraphBasedPlan<V,N>,V>
| Constructor and Description |
|---|
GraphSearchBasedHTNPlanningAlgorithm(P problem,
IHierarchicalPlanningGraphGeneratorDeriver<P,N,A> problemTransformer,
ai.libs.jaicore.search.core.interfaces.IOptimalPathInORGraphSearchFactory<S,N,A,V> searchFactory,
ai.libs.jaicore.search.probleminputs.builders.SearchProblemInputBuilder<N,A,S> searchProblemBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
java.lang.String |
getLoggerName() |
java.util.List<Action> |
getPlan(java.util.List<TFDNode> path) |
ai.libs.jaicore.search.core.interfaces.IOptimalPathInORGraphSearch<S,N,A,V> |
getSearch() |
ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent |
nextWithException() |
void |
setLoggerName(java.lang.String name) |
call, getBestSeenSolution, nextSolutionCandidate, nextSolutionCandidateEvent, 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, waitpublic GraphSearchBasedHTNPlanningAlgorithm(P problem, IHierarchicalPlanningGraphGeneratorDeriver<P,N,A> problemTransformer, ai.libs.jaicore.search.core.interfaces.IOptimalPathInORGraphSearchFactory<S,N,A,V> searchFactory, ai.libs.jaicore.search.probleminputs.builders.SearchProblemInputBuilder<N,A,S> searchProblemBuilder)
public void cancel()
cancel in interface ai.libs.jaicore.basic.Cancelablecancel in class ai.libs.jaicore.basic.algorithm.AAlgorithm<P extends IHTNPlanningProblem,EvaluatedSearchGraphBasedPlan<V extends java.lang.Comparable<V>,N>>public ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent nextWithException()
throws ai.libs.jaicore.basic.algorithm.AlgorithmExecutionCanceledException,
java.lang.InterruptedException,
ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmTimeoutedException,
ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmException
ai.libs.jaicore.basic.algorithm.AlgorithmExecutionCanceledExceptionjava.lang.InterruptedExceptionai.libs.jaicore.basic.algorithm.exceptions.AlgorithmTimeoutedExceptionai.libs.jaicore.basic.algorithm.exceptions.AlgorithmExceptionpublic ai.libs.jaicore.search.core.interfaces.IOptimalPathInORGraphSearch<S,N,A,V> getSearch()
public java.lang.String getLoggerName()
getLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablegetLoggerName in class ai.libs.jaicore.basic.algorithm.AOptimizer<P extends IHTNPlanningProblem,EvaluatedSearchGraphBasedPlan<V extends java.lang.Comparable<V>,N>,V extends java.lang.Comparable<V>>public void setLoggerName(java.lang.String name)
setLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablesetLoggerName in class ai.libs.jaicore.basic.algorithm.AOptimizer<P extends IHTNPlanningProblem,EvaluatedSearchGraphBasedPlan<V extends java.lang.Comparable<V>,N>,V extends java.lang.Comparable<V>>