net.sourceforge.combean.graph.decorators
Class ResidualNetworkEdge
java.lang.Object
net.sourceforge.combean.util.GenericWrapper
net.sourceforge.combean.graph.ObjectAsEdge
net.sourceforge.combean.graph.decorators.ResidualNetworkEdge
- All Implemented Interfaces:
- Edge
public class ResidualNetworkEdge
- extends ObjectAsEdge
- implements Edge
An edge in the residual graph.
ResidualNetworkEdge
public ResidualNetworkEdge(Edge wrappedEdge,
boolean isReverted)
- Constructor.
- Parameters:
wrappedEdge
- the edge of the graph on which the residual graph
is defineisReverted
- true if the edge in the residual graph has a different
orientation than the edge in the original graph.
getWrappedEdge
public final Edge getWrappedEdge()
- Returns:
- Returns the wrapped edge.
isReverted
public final boolean isReverted()
- Returns:
- Returns the isReverted flag.
toString
public String toString()
- Overrides:
toString
in class GenericWrapper