Class DirectedSequenceRouter
A directed sequence router.
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 DirectedSequenceRouter : AlgorithmBase, IAlgorithm
Constructors
DirectedSequenceRouter(IDirectedWeightMatrixAlgorithm<Single>, Single, Tuple<Nullable<Boolean>, Nullable<Boolean>>[])
Creates a new router.
Declaration
public DirectedSequenceRouter(IDirectedWeightMatrixAlgorithm<float> directedWeightMatrixAlgorithm, float turnPenalty, Tuple<bool ? , bool ? >[] fixedTurns = null)
Parameters
IDirectedWeightMatrixAlgorithm<System.Single>
directedWeightMatrixAlgorithm
The directed weight matrix algorithm. |
System.Single
turnPenalty
The turn penalty. |
Tuple<System.Nullable<System.Boolean>, System.Nullable<System.Boolean>>[]
fixedTurns
Turn that cannot change, if any. |
DirectedSequenceRouter(IMassResolvingAlgorithm, Single, Tuple<Nullable<Boolean>, Nullable<Boolean>>[])
Creates a new router.
Declaration
public DirectedSequenceRouter(IMassResolvingAlgorithm massResolvingAlgorithm, float turnPenalty, Tuple<bool ? , bool ? >[] fixedTurns = null)
Parameters
IMassResolvingAlgorithm
massResolvingAlgorithm
The mass resolving algorithm. |
System.Single
turnPenalty
The turn penalty. |
Tuple<System.Nullable<System.Boolean>, System.Nullable<System.Boolean>>[]
fixedTurns
Turn that cannot change, if any. |
Properties
Routes
Gets the routes.
Declaration
public List<Result<Route>> Routes { get; }
Property Value
List<Result<Route>>
|
Methods
DoRun(CancellationToken)
Declaration
protected override void DoRun(CancellationToken cancellationToken)
Parameters
CancellationToken
cancellationToken
|