Show / Hide Table of Contents

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>
Implements
IAlgorithm<IMutableBidirectionalGraph<TVertex, TEdge>>
IComputation
IAlgorithmComponent
System.IDisposable
Inherited Members
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.VertexFactory
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.EdgeFactory
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.SuperSource
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.SuperSink
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.Augmented
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.AugmentedEdges
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.SuperSourceAdded
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.SuperSinkAdded
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.EdgeAdded
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.InternalCompute()
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.Rollback()
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.AugmentGraph()
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.AddAugmentedEdge(TVertex, TVertex)
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.Dispose()
GraphAugmentorAlgorithmBase<TVertex, TEdge, IMutableBidirectionalGraph<TVertex, TEdge>>.Dispose(Boolean)
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.SyncRoot
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.State
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.Compute()
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.Abort()
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.StateChanged
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.OnStateChanged(EventArgs)
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.Started
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.OnStarted(EventArgs)
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.Finished
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.OnFinished(EventArgs)
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.Aborted
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.OnAborted(EventArgs)
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.VisitedGraph
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.Services
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.GetService<T>()
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.TryGetService<T>(T)
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.TryGetService(Type, Object)
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.ThrowIfCancellationRequested()
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.Initialize()
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.InternalCompute()
AlgorithmBase<IMutableBidirectionalGraph<TVertex, TEdge>>.Clean()
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 Source

MultiSourceSinkGraphAugmentorAlgorithm(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

visitedGraph is null.

System.ArgumentNullException

vertexFactory is null.

System.ArgumentNullException

edgeFactory is null.

| Improve this Doc View Source

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

visitedGraph is null.

System.ArgumentNullException

vertexFactory is null.

System.ArgumentNullException

edgeFactory is null.

Methods

| Improve this Doc View Source

AugmentGraph()

Augments the graph.

Declaration
protected override void AugmentGraph()
Overrides
QuikGraph.Algorithms.MaximumFlow.GraphAugmentorAlgorithmBase<TVertex, TEdge, QuikGraph.IMutableBidirectionalGraph<TVertex, TEdge>>.AugmentGraph()

Implements

IAlgorithm<TGraph>
IComputation
IAlgorithmComponent
System.IDisposable

Extension Methods

GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, String)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, String, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, XmlWriter)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, XmlReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, TextReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, String, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeAndValidateFromGraphML<TVertex, TEdge, TGraph>(TGraph, TextReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
SerializationExtensions.SerializeToXml<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>, String, String, String, String)
SerializationExtensions.SerializeToXml<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>, String, String, String, String, Action<XmlWriter, TGraph>, Action<XmlWriter, TVertex>, Action<XmlWriter, TEdge>)
  • Improve this Doc
  • View Source
In This Article
Back to top QuikGraph