Users separate waste by types and place it in the specific containers. Users can be small, medium or large. Users are organized by the streets. In a particular street, users are not individually assigned, but their number per category (small,medium,large) in the street is based on the share of a particular category in the total number of places in the street. The user, based on his own category, uses bins (cans or containers) for certain types of waste. The user charges some types of containers independently while others are shared with a certain number of users (groups) of their categories
Number of users of each category is determined for each street (users are created and unique identifier is assigned to each user). After that, types of containers are assigned to an individual user or group of users. Unique identifier is assigned to every container, as well as which user or group of users is going to use it.
I have to choose between Abstract Factory, Factory Method, Builder, and Prototype, does anyone know which one can I use??
Aucun commentaire:
Enregistrer un commentaire