Neo4j Community

org.neo4j.graphalgo
Interface EstimateEvaluator<T>

Type Parameters:
T - The data type of the estimated weight.

public interface EstimateEvaluator<T>

Evaluator used to estimate the weight of the remaining path from one node to another.

Author:
Mattias Persson

Method Summary
 T getCost(Node node, Node goal)
          Estimate the weight of the remaining path from one node to another.
 

Method Detail

getCost

T getCost(Node node,
          Node goal)
Estimate the weight of the remaining path from one node to another.

Parameters:
node - the node to estimate the weight from.
goal - the node to estimate the weight to.
Returns:
an estimation of the weight of the path from the first node to the second.

Neo4j Community

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