Closed DepthDeluxe closed 10 years ago
this may be a nice alternative if current iterative flood fill code doesn't run fast enough on the microcontroller
turns out to speed up the concept of FloodFill, I implemented a fairly similar graph search algorithm that uses a queue along with breadth-first search to get a solution with relatively few computations
This clearly looks like a much more efficient implementation for computing the flood fill of a maze. It may not be necessary though.
http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm