org.neo4j.graphalgo
Interface MaxCostEvaluator<T>

Type Parameters:
T - The cost value type

public interface MaxCostEvaluator<T>

Evaluator for determining if the maximum path cost has been exceeded.

Author:
Peter Neubauer

Method Summary
 boolean maxCostExceeded(T currentCost)
          Evaluates whether the maximum cost has been exceeded.
 

Method Detail

maxCostExceeded

boolean maxCostExceeded(T currentCost)
Evaluates whether the maximum cost has been exceeded.

Parameters:
currentCost - the cost to be checked
Returns:
true if the maximum Cost is less that currentCost


Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.