Class LinearCombiningNodeEvaluator<T,​A>

  • All Implemented Interfaces:
    org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<T,​A,​java.lang.Double>, org.api4.java.common.attributedobjects.IGetter<org.api4.java.datastructure.graph.ILabeledPath<T,​A>,​java.lang.Double>, org.api4.java.common.attributedobjects.IObjectEvaluator<org.api4.java.datastructure.graph.ILabeledPath<T,​A>,​java.lang.Double>

    public class LinearCombiningNodeEvaluator<T,​A>
    extends java.lang.Object
    implements org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<T,​A,​java.lang.Double>
    • Constructor Summary

      Constructors 
      Constructor Description
      LinearCombiningNodeEvaluator​(java.util.Map<org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<T,​A,​java.lang.Double>,​java.lang.Double> evaluators)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double evaluate​(org.api4.java.datastructure.graph.ILabeledPath<T,​A> path)  
      • 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

      • LinearCombiningNodeEvaluator

        public LinearCombiningNodeEvaluator​(java.util.Map<org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<T,​A,​java.lang.Double>,​java.lang.Double> evaluators)
    • Method Detail

      • evaluate

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