chess.py

所属分类:人工智能/神经网络/深度学习
开发工具:Python
文件大小:2KB
下载次数:87
上传日期:2011-06-06 11:25:08
上 传 者senselight
说明:  Python实现A*算法解决八数码问题。 输入为九个数字的列表,代表八个数的位置(Z字型方向),空位以-1代替。 输出为各移动步骤得到的九个数的矩阵(输出到屏幕)。 使用是调用answer函数。返回一个各移动步骤得到的九个数的矩阵的列表。
(Python achieving eight A* algorithm to solve digital problems. Enter a list of the nine numbers represent the number eight position (Z fonts direction), the space to-1 instead. Output for the mobile number of steps to get the nine matrix (output to screen). Use is to call answer function. The move returns a number of steps to get the matrix of the list of nine.)

文件列表:
chess.py (6050, 2011-04-29)

近期下载者

相关文件


收藏者