edu.stanford.math.plex4.bottleneck
public class FlowEdge extends java.lang.Object
Constructor and Description |
---|
FlowEdge(int source,
int dest,
int capacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getCapacity() |
int |
getDest() |
FlowEdge |
getReverseEdge() |
int |
getSource() |
int |
hashCode() |
void |
setCapacity(int capacity) |
void |
setReverseEdge(FlowEdge reverseEdge) |
java.lang.String |
toString() |
public int getCapacity()
public void setCapacity(int capacity)
public int getSource()
public int getDest()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public FlowEdge getReverseEdge()
public void setReverseEdge(FlowEdge reverseEdge)
public java.lang.String toString()
toString
in class java.lang.Object