Module org.jgrapht.core
Package org.jgrapht.alg.flow
Class MaximumFlowAlgorithmBase.AnnotatedFlowEdge
- java.lang.Object
-
- org.jgrapht.alg.flow.MaximumFlowAlgorithmBase.AnnotatedFlowEdge
-
- All Implemented Interfaces:
Extension
- Enclosing class:
- MaximumFlowAlgorithmBase<V,E>
class MaximumFlowAlgorithmBase.AnnotatedFlowEdge extends java.lang.Object implements Extension
-
-
Field Summary
Fields Modifier and Type Field Description (package private) doublecapacity(package private) doubleflowprivate MaximumFlowAlgorithmBase.AnnotatedFlowEdgeinverse(package private) Eprototypeprivate MaximumFlowAlgorithmBase.VertexExtensionBasesourceprivate MaximumFlowAlgorithmBase.VertexExtensionBasetarget
-
Constructor Summary
Constructors Constructor Description AnnotatedFlowEdge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaximumFlowAlgorithmBase.AnnotatedFlowEdgegetInverse()doublegetResidualCapacity()<VE extends MaximumFlowAlgorithmBase.VertexExtensionBase>
VEgetSource()<VE extends MaximumFlowAlgorithmBase.VertexExtensionBase>
VEgetTarget()booleanhasCapacity()voidsetSource(MaximumFlowAlgorithmBase.VertexExtensionBase source)voidsetTarget(MaximumFlowAlgorithmBase.VertexExtensionBase target)java.lang.StringtoString()
-
-
-
Field Detail
-
source
private MaximumFlowAlgorithmBase.VertexExtensionBase source
-
target
private MaximumFlowAlgorithmBase.VertexExtensionBase target
-
inverse
private MaximumFlowAlgorithmBase.AnnotatedFlowEdge inverse
-
prototype
E prototype
-
capacity
double capacity
-
flow
double flow
-
-
Method Detail
-
getSource
public <VE extends MaximumFlowAlgorithmBase.VertexExtensionBase> VE getSource()
-
setSource
public void setSource(MaximumFlowAlgorithmBase.VertexExtensionBase source)
-
getTarget
public <VE extends MaximumFlowAlgorithmBase.VertexExtensionBase> VE getTarget()
-
setTarget
public void setTarget(MaximumFlowAlgorithmBase.VertexExtensionBase target)
-
getInverse
public MaximumFlowAlgorithmBase.AnnotatedFlowEdge getInverse()
-
hasCapacity
public boolean hasCapacity()
-
getResidualCapacity
public double getResidualCapacity()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-