Has anybody played with / thought of a simple way of implementing a self-avoiding walk algorithm for working through 2D matricies?
I'm trying to 'walk' through a [jit.matrix] without repeating steps (which makes me think along the lines of [urn]?), but want to be able to move up/down too. Also, since the steps want to be limited to immediate neighbour cells, maybe I should be looking towards some sort of drunk/markov type thing?
Anybody got any thoughts?