by bransonf · 5y ago · 0 comments
I’ve recently been working on developing a novel statistical test to quantify sensitivity to the modifiable areal unit problem (MAUP). The limiting factor has been the ability to efficiently generate arbitrarily shaped polygons on a lattice at random. In essence, this is needed to stochastically reallocate a spatial characteristic and measure variance.
Apparently, the exact solution I’m looking for is Donald Knuth’s algorithm X [0]. And I also found this interesting application of the algorithm [1].
I simply cannot express how much my curiosity has just peaked. Moreover, I now have reason to cite both Solomon Golomb and Donald Knuth in a paper.
If you try it out, please let me know what you think :)
P.S. work on that led to a sequence on the Online Encyclopedia of Integer Sequences: https://oeis.org/A239658
However, I was reminded of seeing them in the teen novel Chasing Vermeer [0].
Knuth adjusted his algorithm X for ZDD and got some nice speedups.