This example app demonstrates the following features:
- Delete a vehicle.
Deleted vehicle will no longer appear in the routes to which the vehicle was assigned; their cost will be re-calculated using the default values (the vehicle's type is a car which runs on standard gasoline and has a consumption of 7.5 l/100km).
When you run the example app, a vehicle will be deleted.
- Create a
ProgressListenerandvrp::Service. - Call the
deleteVehicle()method from thevrp::Serviceusing the vehicle's id andProgressListenerand wait for the operation to be done.