搜索资源列表
primenumber.
- 一个求素数个数的程序 算pi(1000000000)不要1秒每个块如果10 0000, 需要 < 100000次全搜索加上8000 * 8000 < 6400 0000 总的次数小于7000 0000,就是说,搜索次数大大降低-for a few number-counting procedures pi (1000000000) not a second of each block of 10 0000, the need lt; Search 100,000 plenary wi
Subset
- ary[]{1,2,3,4} 求打印其的所有子集。这是关于【幂集】的问题。 【幂集】包括【全集】和【空集】。对于有N个元素的集(/ □ \)合,它的幂集个数有2的N次方个。 比如这个例子,数组有4个元素。那么用4个位表示每一个元素(假设从左到右表示1234吧),0表示该数不存在,1表示存在。 则: 0000表示空集{}。 0001表示{4}。 0010表示{3}; 0011表示{3,4}; ………… 1110表示{1,2,3}; 1111表示{1,2,3,
GA-DF2
- 利用GA遗传算法解决欺骗函数最优问题,具体问题描述如下,如有问题请与我联系(The deceptive functions are a family of functions in which there exists low-order building blocks that do not combine to form the higher-order building blocks. Here, a deceptive problem that consists of 25 copies
