Class PresolvedMassResolvingAlgorithm
A dummy mass-resolve implementation which returns presolved results
Inherited Members
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 PresolvedMassResolvingAlgorithm : AlgorithmBase, IMassResolvingAlgorithm, IAlgorithm
Constructors
PresolvedMassResolvingAlgorithm(RouterBase, IProfileInstance[], List<RouterPoint>)
Creates a new presolved mass resolve algorithm
Declaration
public PresolvedMassResolvingAlgorithm(RouterBase router, IProfileInstance[] profiles, List<RouterPoint> routerPoints)
Parameters
RouterBase
router
|
IProfileInstance[]
profiles
|
List<RouterPoint>
routerPoints
|
Properties
Errors
Returns the errors indexed per location idx.
Declaration
public Dictionary<int, LocationError> Errors { get; }
Property Value
Dictionary<System.Int32, LocationError>
|
Implements
Locations
Gets the original locations.
Declaration
public Coordinate[] Locations { get; }
Property Value
Coordinate[]
|
Implements
Profiles
Gets the profiles.
Declaration
public IProfileInstance[] Profiles { get; }
Property Value
IProfileInstance[]
|
Implements
Router
RouterPoints
Gets the valid router points.
Declaration
public List<RouterPoint> RouterPoints { get; }
Property Value
List<RouterPoint>
|
Implements
Methods
DoRun(CancellationToken)
Nothing to be done
Declaration
protected override void DoRun(CancellationToken cancellationToken)
Parameters
CancellationToken
cancellationToken
|
Overrides
LocationIndexOf(Int32)
Returns the index of the location in the original locations array, given the resolved point index..
Declaration
public int LocationIndexOf(int resolvedIdx)
Parameters
System.Int32
resolvedIdx
|
Returns
System.Int32
|
Implements
ResolvedIndexOf(Int32)
Returns the index of the resolved point, given the original index of in the locations array.
Declaration
public int ResolvedIndexOf(int locationIdx)
Parameters
System.Int32
locationIdx
|
Returns
System.Int32
|