public class Edge extends Object
| Constructor and Description |
|---|
Edge(Vertex source,
Vertex sink,
double capacity,
int numberOfFlows) |
Edge(Vertex source,
Vertex sink,
int numberOfFlows) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
double |
getCapacity() |
double |
getFlow(int i) |
String |
getInvName() |
String |
getName() |
int |
getNumberOfFlows() |
Vertex |
getSink() |
Vertex |
getSource() |
void |
init(Vertex source,
Vertex sink,
double capacity,
int numberOfFlows) |
void |
setFLow(int i,
double f) |
String |
toString() |
public String getName()
public String getInvName()
public double getCapacity()
public Vertex getSource()
public Vertex getSink()
public void setFLow(int i,
double f)
public double getFlow(int i)
public int getNumberOfFlows()
Copyright © 2017. All rights reserved.