Class EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>
- java.lang.Object
-
- ai.libs.jaicore.search.model.other.SearchGraphPath<N,A>
-
- ai.libs.jaicore.search.model.other.EvaluatedSearchGraphPath<N,A,V>
-
- All Implemented Interfaces:
org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IEvaluatedPath<N,A,V>
,org.api4.java.common.attributedobjects.ScoredItem<V>
,org.api4.java.datastructure.graph.ILabeledPath<N,A>
,org.api4.java.datastructure.graph.IPath<N>
public class EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>> extends SearchGraphPath<N,A> implements org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IEvaluatedPath<N,A,V>
-
-
Constructor Summary
Constructors Constructor Description EvaluatedSearchGraphPath(java.util.List<N> nodes, java.util.List<A> edges, V score)
EvaluatedSearchGraphPath(org.api4.java.datastructure.graph.ILabeledPath<N,A> path, V score)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
V
getScore()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class ai.libs.jaicore.search.model.other.SearchGraphPath
containsNode, cutHead, extend, getAnnotations, getArcs, getHead, getInArc, getNodes, getNumberOfNodes, getOutArc, getParentOfHead, getPathFromChildOfRoot, getPathToParentOfHead, getRoot, getUnmodifiableAccessor, isPoint, setAnnotation
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getScore
public V getScore()
- Specified by:
getScore
in interfaceorg.api4.java.common.attributedobjects.ScoredItem<N>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSearchGraphPath<N,A>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classSearchGraphPath<N,A>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSearchGraphPath<N,A>
-
-