• anonymous
correspondence rather than attribute: In looking at problem 6 the room object is made an attribute of robot, but maybe it would be easier to make a correspondence between these two, like with a tuple with room-robot pairs. Intuitively, a room is not a property of a robot.
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
  • jamiebookeater
I got my questions answered at in under 10 minutes. Go to now for free help!
  • anonymous
do it the other way around.... the room has a collection of robots. the room has a blackboard where each robot marks its current position. before a robot moves it looks at the blackboard to see if it is going to collide with another bot.

Looking for something else?

Not the answer you are looking for? Search for more explanations.