Class TFDGraphGenerator

  • All Implemented Interfaces:
    org.api4.java.datastructure.graph.implicit.IGraphGenerator<TFDNode,​java.lang.String>
    Direct Known Subclasses:
    CEOCTFDGraphGenerator

    public class TFDGraphGenerator
    extends java.lang.Object
    implements org.api4.java.datastructure.graph.implicit.IGraphGenerator<TFDNode,​java.lang.String>
    • Method Detail

      • getSuccessorsResultingFromResolvingPrimitiveTask

        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
        Throws:
        java.lang.InterruptedException
      • getSuccessorsResultingFromResolvingComplexTask

        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)
                                                                                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • stripTNPrefixes

        protected java.util.List<ai.libs.jaicore.logic.fol.structure.Literal> stripTNPrefixes​(java.util.List<ai.libs.jaicore.logic.fol.structure.Literal> taskList)
      • postProcessPrimitiveTaskNode

        protected TFDNode postProcessPrimitiveTaskNode​(TFDNode node)
        A hook for extending classes that can be used to change the nodes before they are attached
        Parameters:
        node -
        Returns:
      • postProcessComplexTaskNode

        protected TFDNode postProcessComplexTaskNode​(TFDNode node)
        A hook for extending classes that can be used to change the nodes before they are attached
        Parameters:
        node -
        Returns:
      • getRootGenerator

        public org.api4.java.datastructure.graph.implicit.ISingleRootGenerator<TFDNode> getRootGenerator()
        Specified by:
        getRootGenerator in interface org.api4.java.datastructure.graph.implicit.IGraphGenerator<TFDNode,​java.lang.String>
      • getSuccessorGenerator

        public org.api4.java.datastructure.graph.implicit.ISuccessorGenerator<TFDNode,​java.lang.String> getSuccessorGenerator()
        Specified by:
        getSuccessorGenerator in interface org.api4.java.datastructure.graph.implicit.IGraphGenerator<TFDNode,​java.lang.String>
      • orderRemainingTasksByPriority

        public TFDNode orderRemainingTasksByPriority​(TFDNode node)
      • isPathSemanticallySubsumed

        public boolean isPathSemanticallySubsumed​(java.util.List<TFDNode> path,
                                                  java.util.List<TFDNode> potentialSuperPath)
                                           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object