City Based Parking and Routing System API Documentation

Bus.UpdateRoute Method 

Updates the route of the vehicle by consulting the Dijkstra routing tables.

public override void UpdateRoute(
   uint step
);

Parameters

step
The current time step.

Implements

IVehicle.UpdateRoute

Remarks

This function is called after the intersection has entered a new lane (i.e. is crossing the intersection). This function further assumes that DijkstraVehicles as implemented in the routing subsystem travel from generator to generator therefore once the destination is reached we do not update the route anymore but let the vehicle be consumed by the exit.

See Also

Bus Class | CBPRS.Parking Namespace