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