Show / Hide Table of Contents

Class DirectedOneToManyWeights<T>

An algorithm to calculate one-to-many directed weights.

Inheritance
System.Object
AlgorithmBase
DirectedOneToManyWeights<T>
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 DirectedOneToManyWeights<T> : AlgorithmBase, IAlgorithm where T : struct
Type Parameters
T

Constructors

DirectedOneToManyWeights(Graph, WeightHandler<T>, RestrictionCollection, DirectedDykstraSource<T>, DirectedDykstraSource<T>[], T)

Creates a new many-to-many algorithm instance.

Declaration
public DirectedOneToManyWeights(Graph graph, WeightHandler<T> weightHandler, RestrictionCollection restrictions, DirectedDykstraSource<T> source, DirectedDykstraSource<T>[] targets, T maxSearch)
Parameters
Graph graph

WeightHandler<T> weightHandler

RestrictionCollection restrictions

DirectedDykstraSource<T> source

DirectedDykstraSource<T>[] targets

T maxSearch

Properties

Weights

Gets the weights.

Declaration
public T[] Weights { get; }
Property Value
T[]

Methods

DoRun(CancellationToken)

Executes the actual algorithm.

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

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