Class EdgeCountingSolutionEvaluator<N,A>
- java.lang.Object
-
- ai.libs.jaicore.search.core.interfaces.EdgeCountingSolutionEvaluator<N,A>
-
- Type Parameters:
N
-
- All Implemented Interfaces:
org.api4.java.common.attributedobjects.IGetter<SearchGraphPath<N,A>,java.lang.Double>
,org.api4.java.common.attributedobjects.IObjectEvaluator<SearchGraphPath<N,A>,java.lang.Double>
public class EdgeCountingSolutionEvaluator<N,A> extends java.lang.Object implements org.api4.java.common.attributedobjects.IObjectEvaluator<SearchGraphPath<N,A>,java.lang.Double>
Uses Double to be compliant with algorithms that MUST work with double instead of Integer (such as AStar)
-
-
Constructor Summary
Constructors Constructor Description EdgeCountingSolutionEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
evaluate(SearchGraphPath<N,A> solutionPath)
-
-
-
Method Detail
-
evaluate
public java.lang.Double evaluate(SearchGraphPath<N,A> solutionPath)
-
-