Class WeightMatrixExtensions
Contains extension methods for weight matrix algorithms.
Inheritance
System.Object
WeightMatrixExtensions
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 static class WeightMatrixExtensions
Methods
BuildRoute<T>(IDirectedWeightMatrixAlgorithm<T>, Tour)
Builds the resulting route.
Declaration
public static Route BuildRoute<T>(this IDirectedWeightMatrixAlgorithm<T> algorithm, Tour tour)
Parameters
|
IDirectedWeightMatrixAlgorithm<T>
algorithm
|
|
Tour
tour
|
Returns
|
Route
|
Type Parameters
|
T
|
BuildRoute<T>(IWeightMatrixAlgorithm<T>, Tour)
Builds a route from a given tour.
Declaration
public static Route BuildRoute<T>(this IWeightMatrixAlgorithm<T> algorithm, Tour tour)
Parameters
|
IWeightMatrixAlgorithm<T>
algorithm
|
|
Tour
tour
|
Returns
|
Route
|
Type Parameters
|
T
|
BuildRoutes<T>(IDirectedWeightMatrixAlgorithm<T>, Tour)
Builds the result route in segments divided by routes between customers.
Declaration
public static List<Route> BuildRoutes<T>(this IDirectedWeightMatrixAlgorithm<T> algorithm, Tour tour)
Parameters
|
IDirectedWeightMatrixAlgorithm<T>
algorithm
|
|
Tour
tour
|
Returns
|
List<Route>
|
Type Parameters
|
T
|
BuildRoutes<T>(IWeightMatrixAlgorithm<T>, Tour)
Builds the result route in segments divided by routes between customers.
Declaration
public static List<Route> BuildRoutes<T>(this IWeightMatrixAlgorithm<T> algorithm, Tour tour)
Parameters
|
IWeightMatrixAlgorithm<T>
algorithm
|
|
Tour
tour
|
Returns
|
List<Route>
|
Type Parameters
|
T
|
TryBuildRoutes<T>(IDirectedWeightMatrixAlgorithm<T>, Tour)
Builds the result route in segments divided by routes between customers.
Declaration
public static List<Result<Route>> TryBuildRoutes<T>(this IDirectedWeightMatrixAlgorithm<T> algorithm, Tour tour)
Parameters
|
IDirectedWeightMatrixAlgorithm<T>
algorithm
|
|
Tour
tour
|
Returns
|
List<Result<Route>>
|
Type Parameters
|
T
|
TryBuildRoutes<T>(IWeightMatrixAlgorithm<T>, Tour)
Builds the routes in segments divided by routes between customers in the given tour.
Declaration
public static List<Result<Route>> TryBuildRoutes<T>(this IWeightMatrixAlgorithm<T> algorithm, Tour tour)
Parameters
|
IWeightMatrixAlgorithm<T>
algorithm
|
|
Tour
tour
|
Returns
|
List<Result<Route>>
|
Type Parameters
|
T
|