Show / Hide Table of Contents

Class DuplicateEdgeRemover

An algorithm that detects and removes duplicate edges.

Inheritance
System.Object
AlgorithmBase
DuplicateEdgeRemover
Inherited Members
AlgorithmBase.HasRun
AlgorithmBase.HasSucceeded
AlgorithmBase.ErrorMessage
AlgorithmBase.CheckHasRun()
AlgorithmBase.CheckHasRunAndHasSucceeded()
AlgorithmBase.Run()
AlgorithmBase.Run(CancellationToken)
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 DuplicateEdgeRemover : AlgorithmBase, IAlgorithm
Remarks

This only removes edge that are:

  • Truly identical, meaning
  • the same first last vertex
  • the same profile/meta id's.
  • the exact same shape.

This algorithm only removes duplicate edges that have no impact on routing.

Constructors

DuplicateEdgeRemover(RouterDb)

Creates a new duplicate edge remover.

Declaration
public DuplicateEdgeRemover(RouterDb routerDb)
Parameters
RouterDb routerDb

The routerdb.

Methods

DoRun(CancellationToken)

Declaration
protected override void DoRun(CancellationToken cancellationToken)
Parameters
CancellationToken cancellationToken

Overrides
AlgorithmBase.DoRun(CancellationToken)
Back to top Built by Itinero, MIT licensed.