Use cases
Let’s begin our task with a statement of the problem.
Our robot’s task – part 1
About once or twice a month, my five delightful, intelligent, and playful grandchildren come to visit me and my wife. Like most grandparents, we keep a box full of toys in our upstairs playroom for them to play with during their visits. The first thing they do upon arrival – at least the older grandkids– is take every single toy out of the toy box and start playing. This results in the scene shown in the following photograph – toys randomly and uniformly distributed throughout the playroom:
Figure 3.2 – The playroom in the aftermath of the grandchildren
Honestly, you could not get a better random distribution. They are really good at this. Since, as grandparents, our desire is to maximize the amount of time that our grandchildren have fun at our house and we want them to associate Granddad and Grandmother’...