samedi 5 février 2022

what is the suitable design pattern for this scenario?

The head office has to allocate vehicles to transfer paddy stocks among regional stores where the collection may be asymmetric. The vehicle allocation will be done through In a First in First out queue. There are some already developed queue containers are available in the software library and it will provide the standard que operations to enque and deque data. However, you must develop some specific operations to search vehicles and to list the vehicle in the queue. Which design pattern would be suitable to obtain the additional functionality required by the queue? justify the answer with a suitable UML class diagram.

Aucun commentaire:

Enregistrer un commentaire