ExecuteCurb |
Top Previous Next |
This procedure starts the actual optimization.
Prepare the matrix using MatrixDynCurbIsochrone or MatrixDynCurbRoute
Eventually call MatrixPreProcess to refine processing.
UTurnCosts should either be: = 0: Allowed > 0: Allowed, but at an additional cost < 0: Turn not allowed.
To avoid U-turns, use a high cost or negative value.
DesiredSide: See the sample on how to setup the array. It can basically be apIgnore or apReverse / apForward. The 2 last ones depend upon left / right driving.
Syntax: ExecuteCurb(mat: TCurbMatrix; UTurnCosts: TCostArray; DesiredSide: TApproachArray)
|