Class GraphSearchWithNumberBasedAdditivePathEvaluation.FComputer<N,A>
- java.lang.Object
-
- ai.libs.jaicore.search.probleminputs.GraphSearchWithNumberBasedAdditivePathEvaluation.FComputer<N,A>
-
- All Implemented Interfaces:
org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,java.lang.Double>
,org.api4.java.common.attributedobjects.IGetter<org.api4.java.datastructure.graph.ILabeledPath<N,A>,java.lang.Double>
,org.api4.java.common.attributedobjects.IObjectEvaluator<org.api4.java.datastructure.graph.ILabeledPath<N,A>,java.lang.Double>
- Direct Known Subclasses:
GraphSearchWithNumberBasedAdditivePathEvaluationAndSubPathHeuristic.SubPathEvaluationBasedFComputer
- Enclosing class:
- GraphSearchWithNumberBasedAdditivePathEvaluation<N,A>
public static class GraphSearchWithNumberBasedAdditivePathEvaluation.FComputer<N,A> extends java.lang.Object implements org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,java.lang.Double>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
evaluate(org.api4.java.datastructure.graph.ILabeledPath<N,A> path)
GraphSearchWithNumberBasedAdditivePathEvaluation.EdgeCostComputer<N,A>
getG()
org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,java.lang.Double>
getH()
-
-
-
Constructor Detail
-
FComputer
public FComputer(GraphSearchWithNumberBasedAdditivePathEvaluation.EdgeCostComputer<N,A> g, org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,java.lang.Double> h)
-
-
Method Detail
-
evaluate
public java.lang.Double evaluate(org.api4.java.datastructure.graph.ILabeledPath<N,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<N,A>
- Specified by:
evaluate
in interfaceorg.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,java.lang.Double>
- Throws:
org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.PathEvaluationException
java.lang.InterruptedException
-
getG
public GraphSearchWithNumberBasedAdditivePathEvaluation.EdgeCostComputer<N,A> getG()
-
-