WeightedPath (Neo4j Community 1.8.RC1 API)
Date: 2012-09-07

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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, reverseNodes, reverseRelationships, startNode, toString`

Method Detail

### weight

    double weight()

  Returns the weight of the path.

  Returns:
    the weight of the path.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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