net.sourceforge.combean.graph.alg.flow
Class AugmentingPathBySimpleTraversalAlg
java.lang.Object
net.sourceforge.combean.graph.alg.AbstractGraphAlg
net.sourceforge.combean.graph.alg.flow.AbstractAugmentingPathAlg
net.sourceforge.combean.graph.alg.flow.AugmentingPathBySimpleTraversalAlg
- All Implemented Interfaces:
- AbstractFlowAlg, MaxFlowAlg, GraphAlgorithm
public class AugmentingPathBySimpleTraversalAlg
- extends AbstractAugmentingPathAlg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AugmentingPathBySimpleTraversalAlg
public AugmentingPathBySimpleTraversalAlg()
findAugmentingPath
protected FixedPath findAugmentingPath(DirectedEdgeNeighborhoodGraphProp resG)
- Specified by:
findAugmentingPath
in class AbstractAugmentingPathAlg
setOptionalTraversalAlg
public final void setOptionalTraversalAlg(GraphTraversalAlg traversalAlg)
- Set the traversal algorithm. Defaults to a simple BFS implementation.
- Parameters:
traversalAlg
- The traversalAlg to set.
init
protected void init()
- Overrides:
init
in class AbstractAugmentingPathAlg