Show / Hide Table of Contents

Class IslandDetector

An island detector based on a set of profiles.

Inheritance
System.Object
AlgorithmBase
IslandDetector
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 IslandDetector : AlgorithmBase, IAlgorithm

Constructors

IslandDetector(RouterDb, Func<UInt16, Factor>[], RestrictionCollection)

Creates a new island detector.

Declaration
public IslandDetector(RouterDb routerDb, Func<ushort, Factor>[] profiles, RestrictionCollection restrictionCollection = null)
Parameters
RouterDb routerDb

Func<System.UInt16, Factor>[] profiles

RestrictionCollection restrictionCollection

Fields

RESTRICTED

A value representing a restricted vertex, could be part of multiple islands.

Declaration
public const ushort RESTRICTED = 65533
Field Value
System.UInt16

SINGLETON_ISLAND

A value representing a singleton island.

Declaration
public const ushort SINGLETON_ISLAND = 65535
Field Value
System.UInt16

Properties

Islands

Gets the islands.

Declaration
public ushort[] Islands { get; }
Property Value
System.UInt16[]

IslandSizes

Gets the island sizes.

Declaration
public Dictionary<ushort, uint> IslandSizes { get; }
Property Value
Dictionary<System.UInt16, System.UInt32>

Methods

DoRun(CancellationToken)

Runs the island detection.

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

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