Class SimpleGraphConverter
An algorithm to convert a multi graph to a simple graph by removing duplicate edges and loops.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class SimpleGraphConverter : AlgorithmBase, IAlgorithm
Constructors
SimpleGraphConverter(RoutingNetwork, Action<UInt32, UInt32>, Action<UInt32>)
Creates a new simple graph converter.
Declaration
public SimpleGraphConverter(RoutingNetwork network, Action<uint, uint> edgeSplit, Action<uint> newVertex = null)
Parameters
RoutingNetwork
network
The network, graph, to convert to a simple version. |
Action<System.UInt32, System.UInt32>
edgeSplit
A function called when an edge is split, to properly maintain external data about edges. |
Action<System.UInt32>
newVertex
A function to report on new vertices. |
Methods
DoRun(CancellationToken)
Excutes the actual algorithm.
Declaration
protected override void DoRun(CancellationToken cancellationToken)
Parameters
CancellationToken
cancellationToken
|