改进的GA.
fga.m 为遗传算法的主程序 采用二进制Gray编码,采用基于轮盘赌法的非线性排名选择, 均匀交叉,变异操作,而且还引入了倒位操作!
-improved GA. Fga.m for the main program of genetic algorithm using binary Gray code, Based on the roulette method of nonlinear ranking choice, uniform crossover and mutation, but also to introduce the inversion operation.
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.828710s ]
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.542858s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:1.343003s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.008565s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.042603s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003965s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.259064s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.009235s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.117277s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.350028s ]
UPDATE `jrk_articles` SET `hits` = 3 WHERE `id` = 5012 [ RunTime:0.495366s ]