遗传算法实现自动组卷、随机抽题 (转)
摘要:
usingSystem;usingSystem.Windows.Forms;usingSystem.IO;namespaceGA{publicpartialclassForm1:Form{TTm[]TP;int_ts=0;intn=10;intm=12;intPc=50;//杂交的概率intPm=80;//变异的概率decimal_nd=2;int[]Fs={2,2,2,3,3,3,5,5,5,5,5,5,5,5,10,10,10,10,15,15,15,15,15,20,20,20,20};//题目分数int[]Nd={1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3, 阅读全文
posted @ 2013-10-04 20:14 原来... 阅读(623) 评论(0) 推荐(0) 编辑