很经典的一个算法。大家做工程和通信用的着。遗传算法(Genetic Algorithm)是模拟达尔文的遗传选择和自然淘汰的生物进化过程的计算模型,是一种通过模拟自然进化过程搜索最优解的方法,它是有美国Michigan大学J.Holland教授于1975年首先提出来的,并出版了颇有影响的专著《Adaptation in Natural and Artificial Systems》,GA这个名称才逐渐为人所知,J.Holland教授所提出的GA通常为简单遗传算法(SGA)。
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001183s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.061240s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000947s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001231s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001014s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003012s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000798s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003527s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.014906s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.000974s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 377343 [ RunTime:0.016904s ]