文件名称:nqueen
介绍说明--下载内容均来自于网络,请自行研究使用
用概率算法求解N皇后问题。1、拉斯维加斯概率算法
每一行得到了几个摆放位置时,不是按顺序进行摆放,而是随机摆放的。因此程序每次运行的时间都不一样。用拉斯维加斯算法除非找不到解,如果找到,答案就一定是正确的。-Probabilistic algorithm with N queens problem. 1, Las Vegas probabilistic algorithms have several display each line position, not by placing the order, but randomly placed. Therefore, each program running time is different. Unless with the Las Vegas algorithm can not find the solution, if found, the answer is necessarily correct.
每一行得到了几个摆放位置时,不是按顺序进行摆放,而是随机摆放的。因此程序每次运行的时间都不一样。用拉斯维加斯算法除非找不到解,如果找到,答案就一定是正确的。-Probabilistic algorithm with N queens problem. 1, Las Vegas probabilistic algorithms have several display each line position, not by placing the order, but randomly placed. Therefore, each program running time is different. Unless with the Las Vegas algorithm can not find the solution, if found, the answer is necessarily correct.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
nqueen.txt