Neo4j Community

org.neo4j.graphalgo
Interface WeightedPath

All Superinterfaces:
Iterable<PropertyContainer>, Path

public interface WeightedPath
extends Path

A Path that has an associated weight.

Author:
Tobias Ivarsson

Method Summary
 double weight()
          Returns the weight of the path.
 
Methods inherited from interface org.neo4j.graphdb.Path
endNode, iterator, lastRelationship, length, nodes, relationships, startNode, toString
 

Method Detail

weight

double weight()
Returns the weight of the path.

Returns:
the weight of the path.

Neo4j Community

Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.