config.gga
来自「linux下的一个分组遗传算法」· GGA 代码 · 共 48 行
GGA
48 行
# example config file for gga# ga parameterspopulationsize = 50crossover = 8mutation = 12inversion = 12allelemutationprob = 0.1coloringalgorithm = firstfit# problem parametersnodes = 200seed = 5graphtype = flatedgeprobability = 0.03k-coloring = 3# experiment parametersruns = 100Tmax = 300000randomize = 0# program output switchespopulationdebug = 0ggadebug = 1printsolutions = 1plotdata = 1printgraphs = 1# range test parametersrangetest = 0rangevariable = edgeprobabilityrangefrom = 0.002rangeto = 0.05rangestepsize = 0.004# directory to put generated problemsproblemdir = ../debug/# data output filesrescuefile = ../debug/rescuesolutionsfile = ../debug/genoompjesdatafile = ../debug/datastatisticsfile = ../debug/statsgraphSRfile = ../debug/graph-SRgraphAESfile = ../debug/graph-AESgraphCOLORSfile = ../debug/graph-COLORS
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?