The unique identifier for the gridweb should maintain its type as a size_t; however, it would be in the best interest of storage to create a reversible way to retreive the coordinates of the grid to recreate the grid from just its identifier alone. This would mitigate all requirements for vector<pair<int, int> > startCoords;. Futhermore this would allow patterns to be easily stored in a small writable data structure, many patterns could be stored in a single file while being easily readable by the program.
The unique identifier for the gridweb should maintain its type as a size_t; however, it would be in the best interest of storage to create a reversible way to retreive the coordinates of the grid to recreate the grid from just its identifier alone. This would mitigate all requirements for
vector<pair<int, int> > startCoords;. Futhermore this would allow patterns to be easily stored in a small writable data structure, many patterns could be stored in a single file while being easily readable by the program.