There has been an increasing interest in developing computational theories of autonomous robots. However the previous work has focused on intelligent modifications to internal computational structure of a robot, ignoring modifications to external environments. Our work