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

  • All Implemented Interfaces:
    org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.ICancelablePathEvaluator, org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<T,​A,​V>, org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPotentiallyGraphDependentPathEvaluator<T,​A,​V>, org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPotentiallySolutionReportingPathEvaluator<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>, org.api4.java.common.control.ILoggingCustomizable

    public class TimeLoggingNodeEvaluator<T,​A,​V extends java.lang.Comparable<V>>
    extends DecoratingNodeEvaluator<T,​A,​V>
    • Constructor Detail

      • TimeLoggingNodeEvaluator

        public TimeLoggingNodeEvaluator​(org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<T,​A,​V> baseEvaluator)
    • Method Detail

      • getMSRequiredForComputation

        public int getMSRequiredForComputation​(org.api4.java.datastructure.graph.ILabeledPath<T,​A> path)
      • 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>>
        Overrides:
        evaluate in class DecoratingNodeEvaluator<T,​A,​V extends java.lang.Comparable<V>>
        Throws:
        org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.PathEvaluationException
        java.lang.InterruptedException