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
事例介绍了19种为数据库添加新记录的方法。作为使用ADO和DAO以及SQL语句的各种操纵数据库的手段。使用注意:使用代码灵活但容易出错,直接配置控件简单但不灵活。本例中没有使用ODBC和DSN,而是用VB和ACCESS数据库通过JET连接为例子。请随便修改和使用本例,但在复制过程中请保留本例所有文件的完整性。
上传时间: 2013-12-22
上传用户:teddysha
Although there has been a lot of AVL tree libraries available now, nearly all of them are meant to work in the random access memory(RAM). Some of them do provide some mechanism for dumping the whole tree into a file and loading it back to the memory in order to make data in that tree persistent. It serves well when there s just small amount of data. When the tree is somewhat bigger, the dumping/loading process could take a lengthy time and makes your mission-critical program less efficient. How about an AVL tree that can directly use the disk for data storage ? If there s something like that, we won t need to read through the whole tree in order to pick up just a little bit imformation(a node), but read only the sectors that are neccssary for locating a certain node and the sectors in which that node lies. This is my initial motivation for writing a storage-media independent AVL Tree. However, as you step forth, you would find that it not only works fine with disks but also fine with memorys, too.
标签: available libraries Although nearly
上传时间: 2014-01-22
上传用户:zhoujunzhen
eForth is a small portable Forth design for a wide range of microprocessors. This is the first implementation for 8086. As machine dependency is consolidated into 31 code words, moving eForth to other CPU s will be much less of a chore comparing to other Forth models.
标签: microprocessors portable eForth design
上传时间: 2014-01-25
上传用户:从此走出阴霾
graspForth is my humble attempt at a Forth-in-C that has the following goals: GCC ......... to support all 32-bit micros that GCC cross-compiles to. Relocatable . to be able to run in-place in either Flash or Ram. Fast ........ to be "not much" slower than an assembly based native Forth. Small ....... to fit-in approx 300 words in less than 25Kbytes on a 32-bit machine. Portable .... to achieve a 5 minute port to a new 32bit micro-processor, or micro-controller.
标签: graspForth Forth-in-C following attempt
上传时间: 2015-05-23
上传用户:tfyt
Decoding most of the infrared signals can be easily handled by PIC16C5X microcontrollers. This application note describes how this decoding may be done. The only mandatory hardware for decoding IR signals is an infrared receiver. The use of two types is described here. Both are modular types used often by the consumer electronics industry. The first type responds to infrared signals modulated at about 40 kHz. The second responds to non-modulated infrared pulses and has a restricted range. The hardware costs of each approach will be less than two dollars.
标签: microcontrollers Decoding infrared handled
上传时间: 2015-05-24
上传用户:ruan2570406
Expert Choice represents a significant contribution to the decision making process 工t assists a decision maker in solving complex problems involving many criteria and several courses of action . An Expert Choice solution to a problem reflects the expertise of the decision maker , not the computer . Behavioral scientists have spent many years studying the human mind and how it makes decisions . They have found that humans are influenced by their previous experiences and this causes them to have biases . Basic instincts , preferences and environmental factors also play key roles in how we analyze data and make decisions . There 15 way to remove these factors from human decision making , nor would we necessarily want to , but as the problems of our world become more and more complex , it 15 necessary for us to employ a framework to help make more logical and less biased decisions while still taking our feelings and intuition into consideration .
标签: contribution significant represents decision
上传时间: 2015-06-02
上传用户:gmh1314
完整的FPGA连接图和调试源码,图是DSN格式,但可以直接拖进PROTEL里打开。
上传时间: 2014-07-11
上传用户:a673761058
程序名称(小型超市前台收款系统)压缩包内包含源文件和数据库,用数据建一个名为“chaoshi”(不含引号)的数据源--系统DSN
上传时间: 2015-06-08
上传用户:dave520l
深度学习整站系统 v1.10 1、将整个目录上传到虚拟空间,即可直接访问 index.asp 首页文件(不可以将index.asp改成其它的名字,否则系统跳转出错),不需要做其他的操作。 2、后台登陆文件“deep_login.asp”可任意更名(隐藏登陆路径) 3、管理员用户:admin 密码:admin 登录管理并修改密码. 3、请确保你存放的文件夹有everyone可写权限 4、默认数据库为database.mdb(可用记事本打开Connections/connDB.asp修改数据库路径或改名等设置,如不了解不要改动) 5、本站在开发时为方便DW采用了DSN调用,原数据文件为“connDB_开发时文件.asp”可参照调用文件对比 6、如学习需要导入站点:文件名“deepteach.ste”,DSN数据库名为“DeepTeach”,web别名“deepteach”开发实际路径“E:\深度学习 整站系统”,将数据文件“connDB.asp”内注释改成“开发设置代码”(具体见connDB.asp)
上传时间: 2014-01-18
上传用户:jackgao