WeightedPath (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `weight()` Returns the weight of the path.

    - ### Methods inherited from interface org.neo4j.graphdb.Path

      `endNode, iterator, lastRelationship, length, nodes, relationships, reverseNodes, reverseRelationships, startNode, toString`

- - ### Method Detail

    - #### weight

          double weight()

      Returns the weight of the path.
      Returns:
        the weight of the path.

Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.