Show / Hide Table of Contents

Interface IWeightMatrixAlgorithm<T>

Abstract representation of a weight matrix algorithm.

Inherited Members
IAlgorithm.HasRun
IAlgorithm.HasSucceeded
IAlgorithm.Run()
IAlgorithm.Run(CancellationToken)
IAlgorithm.ErrorMessage
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public interface IWeightMatrixAlgorithm<T> : IAlgorithm
Type Parameters
T

Properties

Errors

Returns the errors indexed per original routerpoint index.

Declaration
Dictionary<int, RouterPointError> Errors { get; }
Property Value
Dictionary<System.Int32, RouterPointError>

MassResolver

Gets the mass resolver.

Declaration
IMassResolvingAlgorithm MassResolver { get; }
Property Value
IMassResolvingAlgorithm

Profile

Gets the profile.

Declaration
IProfileInstance Profile { get; }
Property Value
IProfileInstance

Router

Gets the router.

Declaration
RouterBase Router { get; }
Property Value
RouterBase

RouterPoints

Gets the valid router points.

Declaration
List<RouterPoint> RouterPoints { get; }
Property Value
List<RouterPoint>

Weights

Gets the weights between all valid router points.

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

Methods

CorrectedIndexOf(Int32)

Returns the corrected index, or the index in the weight matrix for the given routerpoint index.

Declaration
int CorrectedIndexOf(int resolvedIdx)
Parameters
System.Int32 resolvedIdx

The index of the resolved point.

Returns
System.Int32

The index in the weight matrix, -1 if this point is in error.

OriginalIndexOf(Int32)

Returns the routerpoint index that represents the given weight in the weight matrix.

Declaration
int OriginalIndexOf(int weightIdx)
Parameters
System.Int32 weightIdx

The index in the weight matrix.

Returns
System.Int32

The routerpoint index, always exists and always returns a proper value.

Back to top Built by Itinero, MIT licensed.