Show / Hide Table of Contents

Class TransitiveReductionAlgorithm<TVertex, TEdge>

Algorithm that computes the transitive reduction of a graph, which is another directed graph with the same vertices and as few edges as possible.

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

Vertex type.

TEdge

Edge type.

Constructors

| Improve this Doc View Source

TransitiveReductionAlgorithm(IEdgeListGraph<TVertex, TEdge>)

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

Declaration
public TransitiveReductionAlgorithm(IEdgeListGraph<TVertex, TEdge> visitedGraph)
Parameters
Type Name Description
IEdgeListGraph<TVertex, TEdge> visitedGraph

Graph to visit.

Exceptions
Type Condition
System.ArgumentNullException

visitedGraph is null.

Properties

| Improve this Doc View Source

TransitiveReduction

Transitive reduction graph.

Declaration
public BidirectionalGraph<TVertex, TEdge> TransitiveReduction { get; }
Property Value
Type Description
BidirectionalGraph<TVertex, TEdge>

Methods

| Improve this Doc View Source

InternalCompute()

Algorithm compute step.

Declaration
protected override void InternalCompute()
Overrides
QuikGraph.Algorithms.AlgorithmBase<QuikGraph.IEdgeListGraph<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