Show / Hide Table of Contents

Class AlgorithmBase

Abstract representation of an algorithm.

Inheritance
System.Object
AlgorithmBase
BidirectionalDykstra<T>
DirectedGraphBuilder<T>
BidirectionalDykstra<T>
Dykstra<T>
FastHierarchyBuilder<T>
HierarchyBuilder<T>
VertexToVertexAlgorithm<T>
VertexToVertexWeightAlgorithm<T>
Dykstra<T>
BidirectionalDykstra<T>
DirectedGraphBuilder<T>
Dykstra<T>
HierarchyBuilder<T>
ManyToManyBidirectionalDykstra<T>
ManyToManyWeightsBidirectionalDykstra<T>
FastHierarchyBuilder<T>
HierarchyBuilder<T>
ManyToManyBidirectionalDykstra<T>
ManyToManyWeightsBidirectionalDykstra<T>
BidirectionalDykstra<T>
Dykstra<T>
BidirectionalDykstra<T>
DirectedDykstra<T>
DirectedManyToMany<T>
DirectedManyToManyWeights<T>
DirectedOneToMany<T>
DirectedOneToManyWeights<T>
DirectedSequenceRouter
Dykstra<T>
ManyToMany<T>
OneToMany<T>
ManyToMany<T>
OneToMany<T>
DualGraphBuilder<T>
DirectedWeightMatrixAlgorithm<T>
WeightMatrixAlgorithm<T>
TileBasedHeatmapBuilder
TileBasedIsochroneBuilder
TreeBuilder
IslandDetector
EdgeBasedIslandDetector
NetworkOptimizer
AreaMetaDataHandler
DuplicateEdgeRemover
MaxDistanceSplitter
SimpleGraphConverter
RouterPointEmbedder
ZeroLengthLinksOptimizer
CompleteRouteBuilder
FastRouteBuilder
RouteSegmentAggregator
MassResolvingAlgorithm
PresolvedMassResolvingAlgorithm
ResolveAlgorithm
ResolveMultipleAlgorithm
ResolveVertexAlgorithm
ShortcutBuilder
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 abstract class AlgorithmBase : IAlgorithm

Properties

ErrorMessage

Returns an error message when the algorithm was not successful.

Declaration
public string ErrorMessage { get; protected set; }
Property Value
System.String

Implements
IAlgorithm.ErrorMessage

HasRun

Returns true if this instance has run already.

Declaration
public bool HasRun { get; protected set; }
Property Value
System.Boolean

Implements
IAlgorithm.HasRun

HasSucceeded

Returns true if this instance has run and it was succesfull.

Declaration
public bool HasSucceeded { get; protected set; }
Property Value
System.Boolean

Implements
IAlgorithm.HasSucceeded

Methods

CheckHasRun()

Checks if HasRun is true and throw an exception if not.

Declaration
public void CheckHasRun()

CheckHasRunAndHasSucceeded()

Checks if HasRun and HasSucceeded is true and throws exception if not.

Declaration
public void CheckHasRunAndHasSucceeded()

DoRun(CancellationToken)

Executes the actual run of the algorithm.

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

Run()

Runs the algorithm.

Declaration
public void Run()
Implements
IAlgorithm.Run()

Run(CancellationToken)

Runs the algorithm.

Declaration
public void Run(CancellationToken cancellationToken)
Parameters
CancellationToken cancellationToken

Implements
IAlgorithm.Run(CancellationToken)
Back to top Built by Itinero, MIT licensed.