Class SkippingNodeEvaluator<T,​A,​V extends java.lang.Comparable<V>>

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

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

      Constructors 
      Constructor Description
      SkippingNodeEvaluator​(org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<T,​A,​V> actualEvaluator, java.util.Random rand, float coin)  
    • Method Summary

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

        getPropertyOf
    • Constructor Detail

      • SkippingNodeEvaluator

        public SkippingNodeEvaluator​(org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<T,​A,​V> actualEvaluator,
                                     java.util.Random rand,
                                     float coin)
    • Method Detail

      • evaluate

        public V 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,​V extends java.lang.Comparable<V>>
        Throws:
        org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.PathEvaluationException
        java.lang.InterruptedException
      • toString

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