Open benoitgaudou opened 4 years ago
You're right the key is never used. I can change it to a list of string? I don't see how this make the model harder to update?
Do you prefer this ? https://github.com/CityScope/CSL_Hanoi/commit/539428e47560a86360d4ec8e23c2d68c24803321
IF yes I let you close this issue
Also what do you mean by "This makes the model hard to update"? In term of time of update or if we want to modify it?
The variable managing the code coding from scanner is the following one:
But, this variable is used as follow:
cell[i,j].type<-cellsMap.values[id];
This seems that the key of
cellsMap
is never used. This makes the model hard to update, in particular if we want to manage the -1 value.