R implementation of a self-avoiding random walk. It travels uniformly in all directions (N, S, W, E) and, when unable to move, goes back by a random number of steps.
ziddec / rsarw Goto Github PK
View Code? Open in Web Editor NEWR implementation of a self-avoiding random walk