Uses of Class org.neo4j.graphdb.traversal.Evaluation (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

## Uses of Class
org.neo4j.graphdb.traversal.Evaluation

- Packages that use Evaluation
  Package | Description
  --- | ---
  org.neo4j.graphdb.traversal | Traversal framework.

- - ### Uses of Evaluation in org.neo4j.graphdb.traversal

    Methods in org.neo4j.graphdb.traversal that return Evaluation
    Modifier and Type | Method and Description
    --- | ---
    `Evaluation` | Evaluator.`evaluate(Path path)` Evaluates a `Path` and returns an `Evaluation` containing information about whether or not to include it in the traversal result, i.e return it from the `Traverser`.
    `Evaluation` | Evaluator.AsPathEvaluator.`evaluate(Path path)`
    `Evaluation` | PathEvaluator.Adapter.`evaluate(Path path)`
    `Evaluation` | Evaluator.AsPathEvaluator.`evaluate(Path path, BranchState<STATE> state)`
    `Evaluation` | PathEvaluator.`evaluate(Path path, BranchState<STATE> state)` Evaluates a `Path` and returns an `Evaluation` containing information about whether or not to include it in the traversal result, i.e return it from the `Traverser`.
    `Evaluation` | TraversalContext.`evaluate(TraversalBranch branch, BranchState state)` Evaluates a `TraversalBranch` whether or not to include it in the result and whether or not to continue further down this branch or not.
    `static Evaluation` | Evaluation.`of(boolean includes, boolean continues)` Returns an `Evaluation` for the given `includes` and `continues`.
    `static Evaluation` | Evaluation.`ofContinues(boolean continues)` Returns an `Evaluation` for the given `continues`, meaning whether or not to continue further down a `TraversalBranch` in the traversal.
    `static Evaluation` | Evaluation.`ofIncludes(boolean includes)` Returns an `Evaluation` for the given `includes`, meaning whether or not to include a `TraversalBranch` in the traversal result or not.
    `static Evaluation` | Evaluation.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static Evaluation[]` | Evaluation.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.neo4j.graphdb.traversal with parameters of type Evaluation
    Modifier and Type | Method and Description
    --- | ---
    `static PathEvaluator` | Evaluators.`endNodeIs(Evaluation evaluationIfMatch, Evaluation evaluationIfNoMatch, Node... possibleEndNodes)` An `Evaluator` which will return `evaluationIfMatch` if `Path.endNode()` for a given path is any of `nodes`, else `evaluationIfNoMatch`.
    `void` | TraversalBranch.`evaluation(Evaluation eval)` Can change evaluation outcome in a negative direction.
    `static PathEvaluator` | Evaluators.`lastRelationshipTypeIs(Evaluation evaluationIfMatch, Evaluation evaluationIfNoMatch, RelationshipType type, RelationshipType... orAnyOfTheseTypes)` Returns an `Evaluator` which compares the type of the last relationship in a `Path` to a given set of relationship types (one or more).If the type of the last relationship in a path is of one of the given types then `evaluationIfMatch` will be returned, otherwise `evaluationIfNoMatch` will be returned.

Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.