| Method Summary | |
boolean |
activeVertex(Vertex v)
Tell the visitor that the given vertex is the one currently chosen by the push-relabel algorithm. Notice that this state is just a snapshot and the algorithm assumes the visitor to immediately inactivate the vertex after this call. |
boolean |
admissibleEdge(Edge e)
Tell the visitor that the given edge is the one currently chosen by the push-relabel algorithm. Notice that this state is just a snapshot and the algorithm assumes the visitor to immediately inactivate the edge after this call. |
boolean |
init(Edge e,
int flow)
|
boolean |
init(Vertex v,
int label)
|
boolean |
setFlow(Edge e,
int flow)
|
boolean |
setLabel(Vertex v,
int label)
|
| Method Detail |
public boolean activeVertex(Vertex v)
public boolean admissibleEdge(Edge e)
public boolean setFlow(Edge e,
int flow)
public boolean setLabel(Vertex v,
int label)
public boolean init(Vertex v,
int label)
public boolean init(Edge e,
int flow)