-
八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的...
八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的皇后后,第i+1行找不到合适的位置,这时就回到第i行,把第i行的皇后放到下一个位置,继续尝试下一行。如此反复,知道找到所有的解。注意,这种算法找的解可能有等价的,某些解可由别的解经过旋转棋盘得到。-visual demostration in vc of eight queens problem.
algorithm: backtracking.
First, put a queen on first line then find a suitable position on 2nd line for next queen, and so on. When all eight lines have queens, it means we have find a solution. If we put the i-th queen, but can find a suitable position on the (i+1)th line, then back to the ith line and move the queen on the ith line to next suitable position and move on to the next line. Repeat this until we have found all the solutions. Note:By this mean, some solutions maybe equivalent to others, some can be acquired by the rotation of other solutions.
- 2022-03-23 15:20:19下载
- 积分:1
-
intel线程挑战赛,tbb,多线程,并行,生命游戏,编程竞赛
intel线程挑战赛,tbb,多线程,并行,生命游戏,编程竞赛-intel Challenge thread, tbb, multi-threaded, parallel, Game of Life, programming contest
- 2022-03-31 01:02:52下载
- 积分:1
-
有关列表控件的使用
有关列表控件的使用-controls on the use list
- 2022-01-30 14:51:55下载
- 积分:1
-
夸显卡最大化程序
一台电脑插了多块显卡时,放大一个程序,只能在一个显卡上全屏,该程序可以把窗口自动放大到全部显卡上。
- 2022-07-10 14:13:58下载
- 积分:1
-
很多实用的vb小程序,其中有窗体、界面与控件,多媒体与图形, 数据库技术,文件与系统,网络与Internet,值得一看!...
很多实用的vb小程序,其中有窗体、界面与控件,多媒体与图形, 数据库技术,文件与系统,网络与Internet,值得一看!-Vb a lot of useful applets, including form, interface and control, multimedia and graphics, database technology, documents and systems, network and Internet, worth a visit!
- 2022-09-26 09:35:03下载
- 积分:1
-
操作系统的 自己一看就知道
操作系统的 自己一看就知道-its own operating system a person would know
- 2022-02-03 18:58:36下载
- 积分:1
-
一个窗口的类型在Child和Popup之间互换
一个窗口的类型在Child和Popup之间互换-The exmaple of the interchange of a windows style between child and popup
- 2022-01-29 00:31:19下载
- 积分:1
-
第二带小波变换源码,用小波实现了提升算法
第二带小波变换源码,用小波实现了提升算法-second source with wavelet transform, using wavelet algorithm to achieve the upgrade
- 2022-05-30 12:22:02下载
- 积分:1
-
VB写的循环读取电表程序
VB写的循环读取电表程序,可以自动循环读取电表的各项数据!!!!!超级方便!!!!!!!
- 2023-05-24 04:10:03下载
- 积分:1
-
procedures with the greedy algorithm to solve two hours coverage. Using greed cr...
该程序用贪心算法来求解二分覆盖问题. 采用贪婪准则:每次从A中选择一个顶点加入覆盖,选择时:选取能覆盖B中还未被覆盖的顶点的数目最多的顶点。-procedures with the greedy algorithm to solve two hours coverage. Using greed criteria : A time to choose from a peak accession coverage options : To B coverage can not be covered by the largest number of vertices of the vertex.
- 2022-07-17 08:52:30下载
- 积分:1