Patent attributes
Aspects of the disclosure relate to assigning a fleet of driverless vehicles to a plurality of parking locations for parking vehicles of the fleet. For instance, locations of the vehicles of the fleet as well as a number of available spaces at each of the plurality of parking location locations may be tracked. A subset of the fleet not already located at one of the plurality of parking locations is identified. At least one assignment assigning each vehicle of the subset to a respective parking location of the plurality of parking locations is determined according to the numbers of available spaces and the identified locations of the subset. For the at least one assignment, a total cost is determined by determining a cost value for each of a plurality of factors. The given assignment is sent to the fleet based on the total cost and the cost value.