Gets the optimized flight plan according to the specified waypoints and the algorithm to be used.

Namespace: FlightPlan.Optimizer
Assembly: FlightPlanOptimizer (in FlightPlanOptimizer.exe) Versión: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static FlightPlan GetOptimizedFlighPlan(
	Waypoint[] wayPoints,
	ITSPAlgorithm alg
)
Visual Basic
Public Shared Function GetOptimizedFlighPlan ( _
	wayPoints As Waypoint(), _
	alg As ITSPAlgorithm _
) As FlightPlan
Visual C++
public:
static FlightPlan^ GetOptimizedFlighPlan(
	array<Waypoint^>^ wayPoints, 
	ITSPAlgorithm^ alg
)

Parameters

wayPoints
Type: array<Waypoint>[]()[][]
The points where the fly has to pass.
alg
Type: FlightPlan.Optimizer.TSPAlgorithms..::..ITSPAlgorithm
The Algorithm to be used.

Return Value

The whole FlightPlan object.

See Also