public abstract class AbstractBranchPathWalker extends java.lang.Object implements IBranchPathWalker
Modifier and Type | Field and Description |
---|---|
protected NetPathWalkDirectionEnum |
direction |
Constructor and Description |
---|
AbstractBranchPathWalker() |
Modifier and Type | Method and Description |
---|---|
void |
init(Branch branch)
init the bus for the walk
|
boolean |
needVisit(Bus bus,
Branch branch)
check if the branch connecting to the bus needs to be visited.
|
void |
setWalkDirection(NetPathWalkDirectionEnum d) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFlowPathDirection, visit
protected NetPathWalkDirectionEnum direction
public void setWalkDirection(NetPathWalkDirectionEnum d)
IBranchPathWalker
setWalkDirection
in interface IBranchPathWalker
public void init(Branch branch)
IBranchPathWalker
init
in interface IBranchPathWalker
public boolean needVisit(Bus bus, Branch branch)
IBranchPathWalker
needVisit
in interface IBranchPathWalker