public class CurrentFlowPathBusWalker extends AbstractBusPathWalker
direction| Constructor and Description |
|---|
CurrentFlowPathBusWalker() |
| Modifier and Type | Method and Description |
|---|---|
int |
getIntoBusBranches(Bus bus)
For the bus, calculate no of un-visited branches in the into-direction (walk direction).
|
int |
getOutBusBranches(Bus bus)
For the bus, calculate no of un-visited branches in the out-direction (walk direction).
|
void |
init(Bus bus)
init the bus for the walk
|
boolean |
visit(Bus b)
Visit the bus to do something.
|
needVisit, setWalkDirectionpublic void init(Bus bus)
IBusPathWalkerinit in interface IBusPathWalkerinit in class AbstractBusPathWalkerpublic int getIntoBusBranches(Bus bus)
IBusPathWalkerpublic int getOutBusBranches(Bus bus)
IBusPathWalkerpublic boolean visit(Bus b)
IBusPathWalker