public class TFDGraphGenerator extends java.lang.Object implements jaicore.search.algorithms.parallel.parallelexploration.distributed.interfaces.SerializableGraphGenerator<TFDNode,java.lang.String>, jaicore.search.core.interfaces.PathUnifyingGraphGenerator<TFDNode,java.lang.String>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,Operation> |
primitiveTasks |
protected IHTNPlanningProblem |
problem |
protected TaskPlannerUtil |
util |
| Constructor and Description |
|---|
TFDGraphGenerator(IHTNPlanningProblem problem) |
| Modifier and Type | Method and Description |
|---|---|
jaicore.search.structure.graphgenerator.NodeGoalTester<TFDNode> |
getGoalTester() |
jaicore.search.structure.graphgenerator.SingleRootGenerator<TFDNode> |
getRootGenerator() |
jaicore.search.structure.graphgenerator.SuccessorGenerator<TFDNode,java.lang.String> |
getSuccessorGenerator() |
protected java.util.Collection<TFDNode> |
getSuccessorsResultingFromResolvingComplexTask(ai.libs.jaicore.logic.fol.structure.Monom state,
ai.libs.jaicore.logic.fol.structure.Literal taskToBeResolved,
java.util.List<ai.libs.jaicore.logic.fol.structure.Literal> remainingOtherTasks) |
protected java.util.Collection<TFDNode> |
getSuccessorsResultingFromResolvingPrimitiveTask(ai.libs.jaicore.logic.fol.structure.Monom state,
ai.libs.jaicore.logic.fol.structure.Literal taskToBeResolved,
java.util.List<ai.libs.jaicore.logic.fol.structure.Literal> remainingOtherTasks) |
boolean |
isPathSemanticallySubsumed(java.util.List<TFDNode> path,
java.util.List<TFDNode> potentialSuperPath) |
boolean |
isSelfContained() |
TFDNode |
orderRemainingTasksByPriority(TFDNode node) |
protected TFDNode |
postProcessComplexTaskNode(TFDNode node)
A hook for extending classes that can be used to change the nodes before they are attached
|
protected TFDNode |
postProcessPrimitiveTaskNode(TFDNode node)
A hook for extending classes that can be used to change the nodes before they are attached
|
void |
setNodeNumbering(boolean nodenumbering) |
protected java.util.List<ai.libs.jaicore.logic.fol.structure.Literal> |
stripTNPrefixes(java.util.List<ai.libs.jaicore.logic.fol.structure.Literal> taskList) |
java.lang.String |
toString() |
protected TaskPlannerUtil util
protected final IHTNPlanningProblem problem
protected final java.util.Map<java.lang.String,Operation> primitiveTasks
public TFDGraphGenerator(IHTNPlanningProblem problem)
protected java.util.Collection<TFDNode> getSuccessorsResultingFromResolvingPrimitiveTask(ai.libs.jaicore.logic.fol.structure.Monom state, ai.libs.jaicore.logic.fol.structure.Literal taskToBeResolved, java.util.List<ai.libs.jaicore.logic.fol.structure.Literal> remainingOtherTasks) throws java.lang.InterruptedException
java.lang.InterruptedExceptionprotected java.util.Collection<TFDNode> getSuccessorsResultingFromResolvingComplexTask(ai.libs.jaicore.logic.fol.structure.Monom state, ai.libs.jaicore.logic.fol.structure.Literal taskToBeResolved, java.util.List<ai.libs.jaicore.logic.fol.structure.Literal> remainingOtherTasks) throws java.lang.InterruptedException
java.lang.InterruptedExceptionprotected java.util.List<ai.libs.jaicore.logic.fol.structure.Literal> stripTNPrefixes(java.util.List<ai.libs.jaicore.logic.fol.structure.Literal> taskList)
protected TFDNode postProcessPrimitiveTaskNode(TFDNode node)
node - protected TFDNode postProcessComplexTaskNode(TFDNode node)
node - public jaicore.search.structure.graphgenerator.SingleRootGenerator<TFDNode> getRootGenerator()
getRootGenerator in interface jaicore.search.core.interfaces.GraphGenerator<TFDNode,java.lang.String>public jaicore.search.structure.graphgenerator.SuccessorGenerator<TFDNode,java.lang.String> getSuccessorGenerator()
getSuccessorGenerator in interface jaicore.search.core.interfaces.GraphGenerator<TFDNode,java.lang.String>public jaicore.search.structure.graphgenerator.NodeGoalTester<TFDNode> getGoalTester()
getGoalTester in interface jaicore.search.core.interfaces.GraphGenerator<TFDNode,java.lang.String>public boolean isSelfContained()
isSelfContained in interface jaicore.search.core.interfaces.GraphGenerator<TFDNode,java.lang.String>public void setNodeNumbering(boolean nodenumbering)
setNodeNumbering in interface jaicore.search.core.interfaces.GraphGenerator<TFDNode,java.lang.String>public boolean isPathSemanticallySubsumed(java.util.List<TFDNode> path, java.util.List<TFDNode> potentialSuperPath) throws java.lang.InterruptedException
isPathSemanticallySubsumed in interface jaicore.search.core.interfaces.PathUnifyingGraphGenerator<TFDNode,java.lang.String>java.lang.InterruptedExceptionpublic java.lang.String toString()
toString in class java.lang.Object