STATE
- type of initial state to produce.public interface InitialBranchState<STATE>
TraversalBranch
es in a traversal.Modifier and Type | Interface and Description |
---|---|
static class |
InitialBranchState.Adapter<STATE> |
static class |
InitialBranchState.State<STATE>
Branch state evaluator for an initial state.
|
Modifier and Type | Field and Description |
---|---|
static InitialBranchState<Double> |
DOUBLE_ZERO |
static InitialBranchState |
NO_STATE |
Modifier and Type | Method and Description |
---|---|
STATE |
initialState(Path path)
Returns an initial state for a
Path . |
InitialBranchState<STATE> |
reverse()
Creates a version of this state factory which produces reversed initial state,
used in bidirectional traversals.
|
static final InitialBranchState NO_STATE
static final InitialBranchState<Double> DOUBLE_ZERO
STATE initialState(Path path)
Path
. All paths entering this method
are start paths(es) of a traversal. State is passed down along traversal
branches as the traversal progresses and can be changed at any point by a
PathExpander
to becomes the new state from that point in that branch
and downwards.path
- the start branch to return the initial state for.InitialBranchState<STATE> reverse()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.