Class MultiSourceSinkGraphAugmentorAlgorithm<TVertex, TEdge>
Multi source and sink graph augmentor algorithm.
Inheritance
System.Object
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>
MultiSourceSinkGraphAugmentorAlgorithm<TVertex, TEdge>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: QuikGraph.Algorithms.MaximumFlow
Assembly: QuikGraph.dll
Syntax
public sealed class MultiSourceSinkGraphAugmentorAlgorithm<TVertex, TEdge> : GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>, IAlgorithm<IMutableBidirectionalGraph<TVertex, TEdge>>, IComputation, IAlgorithmComponent, IDisposable where TEdge : IEdge<TVertex>
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |
Constructors
| Improve this Doc View SourceMultiSourceSinkGraphAugmentorAlgorithm(IAlgorithmComponent, IMutableBidirectionalGraph<TVertex, TEdge>, VertexFactory<TVertex>, EdgeFactory<TVertex, TEdge>)
Initializes a new instance of the MultiSourceSinkGraphAugmentorAlgorithm<TVertex, TEdge> class.
Declaration
public MultiSourceSinkGraphAugmentorAlgorithm(IAlgorithmComponent host, IMutableBidirectionalGraph<TVertex, TEdge> visitedGraph, VertexFactory<TVertex> vertexFactory, EdgeFactory<TVertex, TEdge> edgeFactory)
Parameters
Type | Name | Description |
---|---|---|
IAlgorithmComponent | host | Host to use if set, otherwise use this reference. |
IMutableBidirectionalGraph<TVertex, TEdge> | visitedGraph | Graph to visit. |
VertexFactory<TVertex> | vertexFactory | Vertex factory method. |
EdgeFactory<TVertex, TEdge> | edgeFactory | Edge factory method. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentNullException |
|
System.ArgumentNullException |
|
MultiSourceSinkGraphAugmentorAlgorithm(IMutableBidirectionalGraph<TVertex, TEdge>, VertexFactory<TVertex>, EdgeFactory<TVertex, TEdge>)
Initializes a new instance of the MultiSourceSinkGraphAugmentorAlgorithm<TVertex, TEdge> class.
Declaration
public MultiSourceSinkGraphAugmentorAlgorithm(IMutableBidirectionalGraph<TVertex, TEdge> visitedGraph, VertexFactory<TVertex> vertexFactory, EdgeFactory<TVertex, TEdge> edgeFactory)
Parameters
Type | Name | Description |
---|---|---|
IMutableBidirectionalGraph<TVertex, TEdge> | visitedGraph | Graph to visit. |
VertexFactory<TVertex> | vertexFactory | Vertex factory method. |
EdgeFactory<TVertex, TEdge> | edgeFactory | Edge factory method. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentNullException |
|
System.ArgumentNullException |
|
Methods
| Improve this Doc View SourceAugmentGraph()
Augments the graph.
Declaration
protected override void AugmentGraph()
Overrides
QuikGraph.Algorithms.MaximumFlow.GraphAugmentorAlgorithmBase<TVertex, TEdge, QuikGraph.IMutableBidirectionalGraph<TVertex, TEdge>>.AugmentGraph()
Implements
System.IDisposable