Function OptimumAlpha: single;
Returns the optimum value of alpha. This takes into consideration the relationship between straight line distance and time on all links and value of costdist and costtime.
You only need to call this function and update the Alpha parameter, if you have changed the drive time on some of the links (AttributeLoad, SetLinkSpeed or SetLinkTime) or changed either property CostDist or CostTime parameter.
If CostTime<>0 this function actually takes some time to process, so don't call it more than needed.
See the discussion on alpha for more information.
Possible error codes: -10 -43
Versions: Standard Pro
ActiveX / VCL / CLX component: RWcalc