Package org.neo4j.graphalgo
Interface WeightedPath
A
Path
that has an associated weight.-
Method Summary
Methods inherited from interface org.neo4j.graphdb.Path
endNode, iterator, lastRelationship, length, nodes, relationships, reverseNodes, reverseRelationships, startNode, toString
-
Method Details
-
weight
double weight()Returns the weight of the path.- Returns:
- the weight of the path.
-