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

org.neo4j.graphdb.traversal

## Interface BranchOrderingPolicy

- All Known Implementing Classes:
    BranchOrderingPolicies

      public interface BranchOrderingPolicy

  Creator of `BranchSelector` instances with a starting point to base the first decision on.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `BranchSelector` | `create(TraversalBranch startBranch, PathExpander expander)` Instantiates a `BranchSelector` with `startBranch` as the first branch to base a decision on "where to go next".

- - ### Method Detail

    - #### create

          BranchSelector create(TraversalBranch startBranch,
                              PathExpander expander)

      Instantiates a `BranchSelector` with `startBranch` as the first branch to base a decision on "where to go next".
      Parameters:
        `startBranch` - the `TraversalBranch` to start from.
        `expander` - `PathExpander` to use for expanding the branch.
      Returns:
        a new `BranchSelector` used to decide "where to go next" in the traversal.

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