org.neo4j.graphalgo
Class CommonEvaluators
java.lang.Object
org.neo4j.graphalgo.CommonEvaluators
public abstract class CommonEvaluators
- extends Object
Factory for common evaluators used by some graph algos, f.ex
CostEvaluator
and EstimateEvaluator
.
- Author:
- Mattias Persson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonEvaluators
public CommonEvaluators()
doubleCostEvaluator
public static CostEvaluator<Double> doubleCostEvaluator(String relationshipCostPropertyKey)
doubleCostEvaluator
public static CostEvaluator<Double> doubleCostEvaluator(String relationshipCostPropertyKey,
double defaultCost)
intCostEvaluator
public static CostEvaluator<Integer> intCostEvaluator(String relationshipCostPropertyKey)
geoEstimateEvaluator
public static EstimateEvaluator<Double> geoEstimateEvaluator(String latitudePropertyKey,
String longitudePropertyKey)
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.