Show / Hide Table of Contents

Class RouteSegmentAggregator

A route segment aggregator. Groups together segments and converts them to features.

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

Constructors

RouteSegmentAggregator(Route, Func<Route.Meta, Route.Meta, Route.Meta>)

Creates a new route segment aggregator.

Declaration
public RouteSegmentAggregator(Route route, Func<Route.Meta, Route.Meta, Route.Meta> aggregate)
Parameters
Route route

Func<Route.Meta, Route.Meta, Route.Meta> aggregate

Fields

ModalAggregator

A default function to aggregate per mode (or profile).

Declaration
public static Func<Route.Meta, Route.Meta, Route.Meta> ModalAggregator
Field Value
Func<Route.Meta, Route.Meta, Route.Meta>

Properties

AggregatedRoute

Gets the aggregated route.

Declaration
public Route AggregatedRoute { get; }
Property Value
Route

Methods

DoRun(CancellationToken)

Exectes the actual run of the algorithm.

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

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