public interface IBranchPathWalker
Modifier and Type | Method and Description |
---|---|
void |
init(Branch bus)
init the bus for the walk
|
boolean |
isFlowPathDirection(Bus bus,
Branch branch)
Starting from the bus, check the branch connecting to the bus is of the path direction, eg,
out of the bus direction.
|
boolean |
needVisit(Bus bus,
Branch branch)
check if the branch connecting to the bus needs to be visited.
|
void |
setWalkDirection(NetPathWalkDirectionEnum d) |
boolean |
visit(Bus bus,
Branch branch)
Visit the branch to do something.
|
void setWalkDirection(NetPathWalkDirectionEnum d)
boolean isFlowPathDirection(Bus bus, Branch branch)
void init(Branch bus)
boolean needVisit(Bus bus, Branch branch)