For the incomplete methods, we kept the representation of the queens by a Table and the method of calculation to determine if two queens are in conflict, which is much faster for this kind of problems than the representation by a matrix. heuristics: descent. Tests: 100 queens in less than 1 second and 67 iterations. 500 queens in 1 second and 257 iterations. 1000 queens in 11 seconds and 492 iterations. heuristics: Simulated annealing. Tests: 100 queens in less than 1 second and 47 iterations. 500 queens in 5 seconds and 243 iterations. 1000 queens in 13 seconds and 497 iterations. heuristics: based on Simulated Annealing. Tests: 100 queens in less than 1 second and 60 iterations. 500 queens in 1 second and 224 iterations. 1000 queens in 5 seconds and 459 iterations. 10 000 queens in 20 minutes 30 seconds and 4885 iterations.
标签: the representation incomplete methods
上传时间: 2015-05-05
上传用户:1159797854
This example imports a text file into a database Table using ADO. Because it uses ADO, it should work with all data sources, though it has only been tested with Access. Usage is explained in the code s comments.
标签: ADO database Because example
上传时间: 2013-12-27
上传用户:1079836864
google的hash Table库实现,非常高效
上传时间: 2013-12-17
上传用户:爺的气质
JTable中获取鼠标所在位置的行数 Table=new JTable(cells,columnNames)
标签: JTable columnNames Table cells
上传时间: 2014-01-03
上传用户:wff
该JavaScript可以动态的编辑Table中的某一行。类似.Net中的TableGrid控件的编辑功能。
标签: JavaScript TableGrid Table Net
上传时间: 2015-07-02
上传用户:xauthu
8202D GPIO Table setting,說明GPIO的對應表格非常好用
上传时间: 2014-01-23
上传用户:yimoney
JAVA自定义Table控件。 可实现换页、行处理、数据过滤等功能。
上传时间: 2013-12-03
上传用户:123456wh
用VB完成Vigenere解密过程 附Vigenere Table分析过程
上传时间: 2014-11-23
上传用户:天诚24
A demo for modification of SQL Table.
标签: modification Table demo SQL
上传时间: 2013-12-28
上传用户:shinesyh
compiler-compiler. This is a compiler-compiler with Table-driven scanner, Table-driven parser.
标签: compiler-compiler Table-driven scanner parser
上传时间: 2014-01-12
上传用户:zm7516678