2 u010389721 u010389721 于 2013.10.05 11:52 提问

求解一个简单的算法问题

Generate a 4x4 room and randomly place the dirt in some of the grids. The agent starts at the grid 1 and tries to complete cleaning the dirt in the room.

16 15 14 13

09 10 11 12

08 07 06 05

01 02 03 04

e.g. The room of id 02,08,09,11,14 has dirt in its grid.

Try to find the shortest way for the agent to clean all the dirt in the 4*4 room

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!