org.neo4j.graphalgo
Class CommonEvaluators

java.lang.Object
  extended by 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

Constructor Summary
CommonEvaluators()
           
 
Method Summary
static CostEvaluator<Double> doubleCostEvaluator(String relationshipCostPropertyKey)
           
static CostEvaluator<Double> doubleCostEvaluator(String relationshipCostPropertyKey, double defaultCost)
           
static EstimateEvaluator<Double> geoEstimateEvaluator(String latitudePropertyKey, String longitudePropertyKey)
           
static CostEvaluator<Integer> intCostEvaluator(String relationshipCostPropertyKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonEvaluators

public CommonEvaluators()
Method Detail

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 © 2012 The Neo4j Graph Database Project. All Rights Reserved.