Neo4j Enterprise

org.neo4j.graphalgo
Class CommonEvaluators

java.lang.Object
  extended by org.neo4j.graphalgo.CommonEvaluators

public abstract class CommonEvaluators
extends java.lang.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<java.lang.Double> doubleCostEvaluator(java.lang.String relationshipCostPropertyKey)
           
static CostEvaluator<java.lang.Double> doubleCostEvaluator(java.lang.String relationshipCostPropertyKey, double defaultCost)
           
static EstimateEvaluator<java.lang.Double> geoEstimateEvaluator(java.lang.String latitudePropertyKey, java.lang.String longitudePropertyKey)
           
static CostEvaluator<java.lang.Integer> intCostEvaluator(java.lang.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<java.lang.Double> doubleCostEvaluator(java.lang.String relationshipCostPropertyKey)

doubleCostEvaluator

public static CostEvaluator<java.lang.Double> doubleCostEvaluator(java.lang.String relationshipCostPropertyKey,
                                                                  double defaultCost)

intCostEvaluator

public static CostEvaluator<java.lang.Integer> intCostEvaluator(java.lang.String relationshipCostPropertyKey)

geoEstimateEvaluator

public static EstimateEvaluator<java.lang.Double> geoEstimateEvaluator(java.lang.String latitudePropertyKey,
                                                                       java.lang.String longitudePropertyKey)

Neo4j Enterprise

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