[ ] Concept and implement a getter and setter on the GridStore layout in a proper (see #4). Verify that a given layout is valid.
Layout Set
[ ] Predefine a set of valid layouts, each having its own performance value
Return Performance
[ ] Quickly choose an proper algorithm to match a given "set layout" operation (i.e., the operation to change the layout) to one entry in the layout set from above. Background: the caller should have the possibility to set an arbitrary (but valid?) layout and receive a performance value afterwards. Since its highly probably that the caller-defined layout is not in the layout set from above, one must match the caller input to the layout set. Consider to implement a fitting distance metric from the caller input to each of your layouts in the set and chose that one which is closed to the input
Get and Set
Layout Set
Return Performance