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

  • All Implemented Interfaces:
    org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,​A,​V>, org.api4.java.common.attributedobjects.IGetter<org.api4.java.datastructure.graph.ILabeledPath<N,​A>,​V>, org.api4.java.common.attributedobjects.IObjectEvaluator<org.api4.java.datastructure.graph.ILabeledPath<N,​A>,​V>, org.api4.java.common.control.ILoggingCustomizable

    public class PlanEvaluationBasedSearchEvaluator<N,​A,​V extends java.lang.Comparable<V>>
    extends java.lang.Object
    implements org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,​A,​V>, org.api4.java.common.control.ILoggingCustomizable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V evaluate​(org.api4.java.datastructure.graph.ILabeledPath<N,​A> solutionPath)  
      java.lang.String getLoggerName()  
      void setLoggerName​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.api4.java.common.attributedobjects.IObjectEvaluator

        getPropertyOf
    • Constructor Detail

      • PlanEvaluationBasedSearchEvaluator

        public PlanEvaluationBasedSearchEvaluator​(org.api4.java.common.attributedobjects.IObjectEvaluator<IPlan,​V> planEvaluator,
                                                  IHierarchicalPlanningToGraphSearchReduction<N,​A,​?,​IPlan,​? extends org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,​A>,​org.api4.java.datastructure.graph.ILabeledPath<N,​A>> baseReduction)
    • Method Detail

      • getLoggerName

        public java.lang.String getLoggerName()
        Specified by:
        getLoggerName in interface org.api4.java.common.control.ILoggingCustomizable
      • setLoggerName

        public void setLoggerName​(java.lang.String name)
        Specified by:
        setLoggerName in interface org.api4.java.common.control.ILoggingCustomizable
      • evaluate

        public V evaluate​(org.api4.java.datastructure.graph.ILabeledPath<N,​A> solutionPath)
                   throws java.lang.InterruptedException,
                          org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.PathEvaluationException
        Specified by:
        evaluate in interface org.api4.java.common.attributedobjects.IObjectEvaluator<N,​A>
        Specified by:
        evaluate in interface org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,​A,​V extends java.lang.Comparable<V>>
        Throws:
        java.lang.InterruptedException
        org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.PathEvaluationException