Show / Hide Table of Contents

Class CondensationGraphAlgorithm<TVertex, TEdge, TGraph>

Algorithm that condensate a graph with strongly (or not) components.

Inheritance
System.Object
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>
CondensationGraphAlgorithm<TVertex, TEdge, TGraph>
Implements
IAlgorithm<IVertexAndEdgeListGraph<TVertex, TEdge>>
IComputation
IAlgorithmComponent
Inherited Members
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.SyncRoot
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.State
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.Compute()
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.Abort()
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.StateChanged
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.OnStateChanged(EventArgs)
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.Started
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.OnStarted(EventArgs)
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.Finished
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.OnFinished(EventArgs)
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.Aborted
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.OnAborted(EventArgs)
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.VisitedGraph
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.Services
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.GetService<T>()
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.TryGetService<T>(T)
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.TryGetService(Type, Object)
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.ThrowIfCancellationRequested()
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.Initialize()
AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>.InternalCompute()
AlgorithmBase<IVertexAndEdgeListGraph<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.Condensation
Assembly: QuikGraph.dll
Syntax
public sealed class CondensationGraphAlgorithm<TVertex, TEdge, TGraph> : AlgorithmBase<IVertexAndEdgeListGraph<TVertex, TEdge>>, IAlgorithm<IVertexAndEdgeListGraph<TVertex, TEdge>>, IComputation, IAlgorithmComponent where TEdge : IEdge<TVertex> where TGraph : IMutableVertexAndEdgeSet<TVertex, TEdge>, new()
Type Parameters
Name Description
TVertex

Vertex type.

TEdge

Edge type.

TGraph

Graph type.

Constructors

| Improve this Doc View Source

CondensationGraphAlgorithm(IVertexAndEdgeListGraph<TVertex, TEdge>)

Initializes a new instance of the CondensationGraphAlgorithm<TVertex, TEdge, TGraph> class.

Declaration
public CondensationGraphAlgorithm(IVertexAndEdgeListGraph<TVertex, TEdge> visitedGraph)
Parameters
Type Name Description
IVertexAndEdgeListGraph<TVertex, TEdge> visitedGraph

Graph to visit.

Exceptions
Type Condition
System.ArgumentNullException

visitedGraph is null.

Properties

| Improve this Doc View Source

CondensedGraph

Condensed graph.

Declaration
public IMutableBidirectionalGraph<TGraph, CondensedEdge<TVertex, TEdge, TGraph>> CondensedGraph { get; }
Property Value
Type Description
IMutableBidirectionalGraph<TGraph, CondensedEdge<TVertex, TEdge, TGraph>>
| Improve this Doc View Source

StronglyConnected

Gets or sets the strongly connected components flag. Indicates if the algorithm should do strongly connected components or not.

Declaration
public bool StronglyConnected { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

InternalCompute()

Algorithm compute step.

Declaration
protected override void InternalCompute()
Overrides
QuikGraph.Algorithms.AlgorithmBase<QuikGraph.IVertexAndEdgeListGraph<TVertex, TEdge>>.InternalCompute()

Implements

IAlgorithm<TGraph>
IComputation
IAlgorithmComponent

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