Show / Hide Table of Contents

Class VertexToVertexAlgorithm<T>

An algorithm to calculate many-to-many weights based on a contraction hierarchy between source and target vertices.

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

Constructors

VertexToVertexAlgorithm(DirectedMetaGraph, WeightHandler<T>, DykstraSource<T>[], DykstraSource<T>[], T)

Creates a new algorithm.

Declaration
public VertexToVertexAlgorithm(DirectedMetaGraph graph, WeightHandler<T> weightHandler, DykstraSource<T>[] sources, DykstraSource<T>[] targets, T max)
Parameters
DirectedMetaGraph graph

WeightHandler<T> weightHandler

DykstraSource<T>[] sources

DykstraSource<T>[] targets

T max

Methods

DoRun(CancellationToken)

Executes the actual run.

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

Overrides
AlgorithmBase.DoRun(CancellationToken)

GetPath(Int32, Int32)

Gets the weights.

Declaration
public EdgePath<T> GetPath(int source, int target)
Parameters
System.Int32 source

System.Int32 target

Returns
EdgePath<T>

Back to top Built by Itinero, MIT licensed.