org.neo4j.graphdb.traversal
Interface BranchOrderingPolicy
- All Known Implementing Classes:
- CommonBranchOrdering
public interface BranchOrderingPolicy
Creator of BranchSelector
instances with a starting point to base
the first decision on.
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-2012 The Neo4j Graph Database Project. All Rights Reserved.