ExecuteCurbFull

Top  Previous  Next

This works the same way as ExecuteCurb, except it testes all possible combinations.

 

Calculation time increases fast as the dimension of the matrix increases. Just 10 elements means more than 3 million combinations (10!) and a calculation time of appr. 1 sec. With 12 elements you are reaching a couple of minutes.

 

Use it for testing if the solution found by Execute is the best possible. It almost always is with just 10 elements.

 

Syntax: ExecuteCurbFull(mat: TCurbMatrix; UTurnCosts: TCostArray; DesiredSide: TApproachArray)