Yes. However, partition sets take flat lists. If you enumerate your grid and map each point in that space to a "human readable" partition, you can pass a list of numbers which represent a combinatorial explosion of your partitions and generate the human readable string when you need assuming you have that lookup lying around somewhere in your code.