以文本方式查看主题 - 计算机科学论坛 (http://bbs.xml.org.cn/index.asp) -- 『 人工智能 :: 机器学习|数据挖掘|进化计算 』 (http://bbs.xml.org.cn/list.asp?boardid=62) ---- [求助]:解magic square (http://bbs.xml.org.cn/dispbbs.asp?boardid=62&rootid=&id=21415) |
-- 作者:poseidon -- 发布时间:8/23/2005 10:51:00 PM -- [求助]:解magic square 初学者,求助各位大虾!!! Problem 2 A magic square is an arrangement of the numbers from 1 to in an n n grid, with each number occurring exactly once, and such that the sum of the entries of any row, any column, or any main diagonal is the same. Mathematically, this sum must be As an example, a simple magic square of order 3 with sum = 15 is 8 1 6 Using genetic algorithm, construct a magic square of order 4. [You need to develop a GA that includes the problem representation, initial population; selection strategy, crossover and mutation probabilities; the goodness of fit criterion, and the stopping rule.]
|
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
31.250ms |