You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -52,5 +52,5 @@ I decided to insert two redundant attributes in the [parking area](./CarParks/sr
52
52
These values are however redundant as mentioned and can be obtained by scrolling the two vectors, posti[] and parcheggio[] contained in the class. However, the scrolling of these vectors leads to considerable losses of time if you imagine have a parking lot with a high number of spaces as it can happen in a real case. These attributes are kept up to date in correspondence of any changes to the corresponding carriers.
53
53
54
54
### Upgrade version notes
55
-
For the implementation of uggrades 1 and 2 I decided to use the server as an intermediary between [Parking areas](./CarParks/src/carParks/Parcheggio.java) and the [driver](./CarParks/src/carParks/Automobilista.java), so you don't have to pass a parking object to the driver each time. This seemed to be the most correct solution from theoretical point of view, passing the whole object to each single driver could give them the control of the entire parking system and so it's not correct!<br />
55
+
For the implementation of uggrades 1 and 2 I decided to use the server as an intermediary between [parking areas](./CarParks/src/carParks/Parcheggio.java) and the [driver](./CarParks/src/carParks/Automobilista.java), so you don't have to pass a parking object to the driver each time. This seemed to be the most correct solution from theoretical point of view, passing the whole object to each single driver could give them the control of the entire parking system and so it's not correct!<br />
56
56
Each request from drivers must be made to the server!
0 commit comments