Prolog实现8-puzzle
2016-08-23
3 0 0
4.1 分
其他
如何获取积分?
he 8-puzzle will be represented by a 3x3 list of lists positions where the empty box will be represented by the value 9, as shown below: [[9,1,3],[5,2,6],[4,7,8]]
Possibility Solution: Only half of the initial positions of the 8-puzzle are solvable. There is a formula that allows to know from the beginning if you can solve the puzzle.To determine whether an 8-puzzle is solvable, for each square containing a value N is calculated how many numbers less than N there after the current cell. For example, to the initial status
others
puzzle
prolog
实现
相关源码推荐
文件压缩解压
0
0
暂无评分
matlab目标跟踪
0
0
暂无评分
GID+极坐标实现
0
0
暂无评分
java LDA实现
0
0
暂无评分
文献实现的实现智能预测控制算法matlab开发源码
0
0
暂无评分
暂无评论