Class GraphSearchWithPathEvaluationsInput<N,​A,​V extends java.lang.Comparable<V>>

  • Type Parameters:
    N -
    A -
    V -
    All Implemented Interfaces:
    org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,​A>, org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<N,​A,​V>
    Direct Known Subclasses:
    BalancedGraphSearchWithPathEvaluationsProblem, DegeneratedGraphSearchWithPathEvaluationsProblem, GraphSearchWithSubpathEvaluationsInput

    public class GraphSearchWithPathEvaluationsInput<N,​A,​V extends java.lang.Comparable<V>>
    extends GraphSearchInput<N,​A>
    implements org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<N,​A,​V>
    In AILibs, a graph search problem always aims at identifying one or more paths from a set of root nodes to a goal node. Usually, such paths are associated with a value that qualifies them. This is the most general problem input one can have if there is no other knowledge.
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphSearchWithPathEvaluationsInput​(org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,​A> graphSearchInput, org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,​A,​V> pathEvaluator)  
      GraphSearchWithPathEvaluationsInput​(org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,​A> graphSearchInput, org.api4.java.common.attributedobjects.IObjectEvaluator<org.api4.java.datastructure.graph.ILabeledPath<N,​A>,​V> pathEvaluator)  
      GraphSearchWithPathEvaluationsInput​(org.api4.java.datastructure.graph.implicit.IGraphGenerator<N,​A> graphGenerator, org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.IPathGoalTester<N,​A> goalTester, org.api4.java.common.attributedobjects.IObjectEvaluator<org.api4.java.datastructure.graph.ILabeledPath<N,​A>,​V> pathEvaluator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,​A,​V> getPathEvaluator()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.api4.java.ai.graphsearch.problem.IPathSearchInput

        getGoalTester, getGraphGenerator
    • Constructor Detail

      • GraphSearchWithPathEvaluationsInput

        public GraphSearchWithPathEvaluationsInput​(org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,​A> graphSearchInput,
                                                   org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,​A,​V> pathEvaluator)
      • GraphSearchWithPathEvaluationsInput

        public GraphSearchWithPathEvaluationsInput​(org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,​A> graphSearchInput,
                                                   org.api4.java.common.attributedobjects.IObjectEvaluator<org.api4.java.datastructure.graph.ILabeledPath<N,​A>,​V> pathEvaluator)
      • GraphSearchWithPathEvaluationsInput

        public GraphSearchWithPathEvaluationsInput​(org.api4.java.datastructure.graph.implicit.IGraphGenerator<N,​A> graphGenerator,
                                                   org.api4.java.ai.graphsearch.problem.implicit.graphgenerator.IPathGoalTester<N,​A> goalTester,
                                                   org.api4.java.common.attributedobjects.IObjectEvaluator<org.api4.java.datastructure.graph.ILabeledPath<N,​A>,​V> pathEvaluator)
    • Method Detail

      • getPathEvaluator

        public org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,​A,​V> getPathEvaluator()
        Specified by:
        getPathEvaluator in interface org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<N,​A,​V extends java.lang.Comparable<V>>
      • toString

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