|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MaxFlowAlg
A maximum s-t flow algorithm.
Method Summary | |
---|---|
double |
getTotalFlow()
Get the value of the maximum flow. |
void |
setSource(Node s)
Set the source node of the flow. |
void |
setTarget(Node t)
Set the target node of the flow. |
Methods inherited from interface net.sourceforge.combean.interfaces.graph.alg.flow.AbstractFlowAlg |
---|
getFlowMap, setEdgeCapacityMap |
Methods inherited from interface net.sourceforge.combean.interfaces.graph.alg.GraphAlgorithm |
---|
getGraph, run, setGraph |
Method Detail |
---|
void setSource(Node s)
s
- the source nodevoid setTarget(Node t)
t
- the target node.double getTotalFlow()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |