Next: Basic Theory
Up: High Level "AI" Algorithm
Previous: The Ideal Algorithm and
Note that the floodfill algorithm only tries to assign a number to each
cell (that indicates the distance from a destination). It does not
tell the robot what to do next. Once we figure out the distance of each
cell from a destination, it is trivial to figure out what to do next.