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) double
capacity
(package private) double
flow
private MaximumFlowAlgorithmBase.AnnotatedFlowEdge
inverse
(package private) E
prototype
private MaximumFlowAlgorithmBase.VertexExtensionBase
source
private MaximumFlowAlgorithmBase.VertexExtensionBase
target
-
Constructor Summary
Constructors Constructor Description AnnotatedFlowEdge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaximumFlowAlgorithmBase.AnnotatedFlowEdge
getInverse()
double
getResidualCapacity()
<VE extends MaximumFlowAlgorithmBase.VertexExtensionBase>
VEgetSource()
<VE extends MaximumFlowAlgorithmBase.VertexExtensionBase>
VEgetTarget()
boolean
hasCapacity()
void
setSource(MaximumFlowAlgorithmBase.VertexExtensionBase source)
void
setTarget(MaximumFlowAlgorithmBase.VertexExtensionBase target)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-