Class TimeLoggingNodeEvaluator<T,A,V extends java.lang.Comparable<V>>
- java.lang.Object
-
- ai.libs.jaicore.search.algorithms.standard.bestfirst.nodeevaluation.DecoratingNodeEvaluator<T,A,V>
-
- ai.libs.jaicore.search.algorithms.standard.bestfirst.nodeevaluation.TimeLoggingNodeEvaluator<T,A,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 Summary
Constructors Constructor Description TimeLoggingNodeEvaluator(org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<T,A,V> baseEvaluator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
evaluate(org.api4.java.datastructure.graph.ILabeledPath<T,A> path)
int
getMSRequiredForComputation(org.api4.java.datastructure.graph.ILabeledPath<T,A> path)
-
Methods inherited from class ai.libs.jaicore.search.algorithms.standard.bestfirst.nodeevaluation.DecoratingNodeEvaluator
cancelActiveTasks, doesDecoratedEvaluatorReportSolutions, getEvaluator, getLoggerName, isDecoratedEvaluatorCancelable, isDecoratedEvaluatorGraphDependent, registerSolutionListener, reportsSolutions, requiresGraphGenerator, setGenerator, setLoggerName
-
-
-
-
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 interfaceorg.api4.java.common.attributedobjects.IObjectEvaluator<T,A>
- Specified by:
evaluate
in interfaceorg.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<T,A,V extends java.lang.Comparable<V>>
- Overrides:
evaluate
in classDecoratingNodeEvaluator<T,A,V extends java.lang.Comparable<V>>
- Throws:
org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.PathEvaluationException
java.lang.InterruptedException
-
-