| java.lang.Object net.sourceforge.groboutils.mbtf.v1.engine.BreadthPathGenerator
Inner Class :static class InnerState | |
Constructor Summary | |
public | BreadthPathGenerator(IState startStates, IState endStates) Capable of generating all paths from the set of all startStates to the
set of all endStates. |
Method Summary | |
public IPath | getNextPath() Return the next path in the generator's sequence. | public void | reset() Reset the generator's sequence. |
BreadthPathGenerator | public BreadthPathGenerator(IState startStates, IState endStates)(Code) | | Capable of generating all paths from the set of all startStates to the
set of all endStates. If there are no endStates, then the generated
paths are not required to end on at least one. If there is at least
one endState, then each path will be guaranteed to terminate with
an endState. If there is no possible path between any startState and
at least one endState, then an error is generated.
Parameters: startStates - list of all possible starting states. This cannotbe empty. Parameters: endStates - list of all possible end states. This may be emptyor null. |
getNextPath | public IPath getNextPath()(Code) | | Return the next path in the generator's sequence.
|
reset | public void reset()(Code) | | Reset the generator's sequence. There is no guarantee that the
order of returned IPath instances will be identical as the previous
generation sequence.
|
|
|