g.in

来自「本人做的遗传算法源代码」· IN 代码 · 共 11 行

IN
11
字号
150000               : Maximum number of iterations
1,0             : Switch to retain best model 1=yes, 0=no; type of bitstring rep
0               : Switch to write out details of each iteration 1=y,0=n
0               : Switch to use GA or monte carlo 1= MC, 0=GA
1               : Fitness function transform 0=lin,1=exp,2=none (maximisation)
0.80            : Probability of crossover
0.02            : Probability of mutation
0               : Switch to restrict crossover to parameter boundaries 1=y, 0=n
16              : Size of population (Q)
5               : Logical unit of file for random number seed 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?