Design a parking Iot Design a ParkingLot package that allocates specific parking spaces to cars ina smart way. Decide what classes you'll need, and design the API for each. Time permitting, select...

Design a parking Iot Design a ParkingLot package that allocates specific parking spaces to cars ina smart way. Decide what classes you'll need, and design the API for each. Time permitting, select data structures to implement the API for each class. Try to deal with annoying cases (like disobedient humans) . Parking spaces can be either regular, compact, or handicapped-only. . When a new car arrives, the system should assign a specific space based on the type of car All cars are allowed to park in regular spots. Thus, compact cars can park in both compact spaces and regular spaces When a car leaves, the system should record that the space is free. Your package should be designed in a manner that allows different parking lots to have different numbers of spaces for each of the 3 types. . Parking spots should have a sense of closeness to the entrance. When parking a car, place it as close to the entrance as possible. Assume these distances are distinct.

May 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here