MaxCostEvaluator (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2002–2014 The Neo4j Graph Database Project. All rights reserved.