T
- The data type the edge weights are represented by.public interface CostEvaluator<T>
Modifier and Type | Method and Description |
---|---|
T |
getCost(Relationship relationship,
Direction direction)
This is the general method for looking up costs for relationships.
|
T getCost(Relationship relationship, Direction direction)
relationship
- direction
- The direction in which the relationship is being
evaluated, either Direction.INCOMING
or
Direction.OUTGOING
.Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.