Show / Hide Table of Contents

Class EdgeRoutingAlgorithmBase<TVertex, TEdge, TGraph>

Base class for all edge routing algorithms.

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

Vertex type.

TEdge

Edge type.

TGraph

Graph type.

Constructors

| Improve this Doc View Source

EdgeRoutingAlgorithmBase(TGraph, IDictionary<TVertex, Point>)

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

Declaration
protected EdgeRoutingAlgorithmBase(TGraph visitedGraph, IDictionary<TVertex, Point> verticesPositions)
Parameters
Type Name Description
TGraph visitedGraph

Graph to visit.

System.Collections.Generic.IDictionary<TVertex, Point> verticesPositions

Vertices positions.

Exceptions
Type Condition
System.ArgumentNullException

visitedGraph is null.

System.ArgumentNullException

verticesPositions is null.

Fields

| Improve this Doc View Source

VerticesPositions

Vertices positions associations.

Declaration
protected IDictionary<TVertex, Point> VerticesPositions
Field Value
Type Description
System.Collections.Generic.IDictionary<TVertex, Point>

Properties

| Improve this Doc View Source

EdgeRoutes

The routing points of the edges (routes).

Declaration
public IDictionary<TEdge, Point[]> EdgeRoutes { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<TEdge, Point[]>

Implements

QuikGraph.Algorithms.Services.IAlgorithmComponent
IEdgeRoutingAlgorithm<TVertex, TEdge, TGraph>
QuikGraph.Algorithms.IAlgorithm<TGraph>
QuikGraph.Algorithms.IComputation

Extension Methods

GraphHelpers.GetDistances<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph, out Double[,])
  • Improve this Doc
  • View Source
In This Article
Back to top GraphShape