Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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