|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
STATE
- type of initial state to produce.InitialStateFactory.AsInitialBranchState
instead, which has got
InitialStateFactory.AsInitialBranchState.reverse()
as well.
public interface InitialStateFactory<STATE>
Factory for initial state of TraversalBranch
es in a traversal.
Nested Class Summary | |
---|---|
static class |
InitialStateFactory.AsInitialBranchState<STATE>
Deprecated. Wraps an InitialStateFactory in a InitialBranchState |
Field Summary | |
---|---|
static InitialStateFactory |
NO_STATE
Deprecated. An InitialStateFactory which returns null as state. |
Method Summary | |
---|---|
STATE |
initialState(Path path)
Deprecated. Returns an initial state for a Path . |
Field Detail |
---|
static final InitialStateFactory NO_STATE
InitialStateFactory
which returns null
as state.
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |