Function EulerRoute(startnode: integer): integer;
This function works in conjunction with function CPP. Startnode should be any valid node number. If function CPP was called with different start- and endnode, make sure both startnode parameters point to the same set of coordinates on the network, which however will not have the same node number (!).
The result from the function is the number of nodes on the generated route and the generated route can be checked by the usual route functions: RouteGetLink etc.
If EulerRoute()-1<>LinkMax, the calculated route will not cover the whole graph. This is an error situation, if the network is believed to be Eulerian.
Please see sample code supplied with function CPP.
The function will not respect turn restrictions.
Possible error codes: -10 -30
Versions: Pro
ActiveX / VCL / CLX component: RWcalc