|
Jedit 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.bsu.cs.algorithm.Algorithm | +--edu.bsu.cs.algorithm.MaxFlowMinCut
An animated implementation of Max-Flow Min-Cut Algorithm.
Constructor Summary | |
MaxFlowMinCut()
|
|
MaxFlowMinCut(JavaGraph graph,
Vector inputs,
Vector animation)
calls the maxflowmincut function. |
Method Summary | |
void |
callOwnConstructor(JavaGraph graph,
Vector inputs,
Vector animation)
This method is called by Jedit for any algorithm it executes and must be used in any working algorithm. |
protected void |
maxflowmincut(JavaGraph graph,
Vector inputs,
Vector animation)
The algorithm is implemented here |
protected void |
thatMaxFlowMinCut()
This function serves as that() in other algorithms. |
Methods inherited from class edu.bsu.cs.algorithm.Algorithm |
getCode, getDescription, getName, getType, setCode, setDescription, setFromResources, setName, setType, succeeded, succeeded |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MaxFlowMinCut()
public MaxFlowMinCut(JavaGraph graph, Vector inputs, Vector animation)
Method Detail |
protected void thatMaxFlowMinCut()
protected void maxflowmincut(JavaGraph graph, Vector inputs, Vector animation)
public void callOwnConstructor(JavaGraph graph, Vector inputs, Vector animation)
Algorithm
callOwnConstructor
in class Algorithm
graph
- the edu.bsu.cs.graph.JavaGraph that the algorithm is performed oninputs
- a Vector of inputs that consists of
animation
- a Vector that is filled with AnimObjects as the algorithm proceeds. It must be instantiated before this method is called.
|
Jedit 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |