no message
This commit is contained in:
@@ -11,18 +11,18 @@ def creating():
|
||||
toolbox = base.Toolbox()
|
||||
|
||||
# 基因注册
|
||||
toolbox.register("n_max_trial", random.randint, 1, 40)
|
||||
toolbox.register("n_max_trial", random.randint, 1, 60)
|
||||
toolbox.register("prf_size", random.uniform, 0.0, 1.0)
|
||||
toolbox.register("prf_conn", random.uniform, 0.0, 1.0)
|
||||
toolbox.register("cap_limit_prob_type", random.randint, 0, 1)
|
||||
toolbox.register("cap_limit_level", random.randint, 5, 50)
|
||||
toolbox.register("cap_limit_level", random.randint, 5, 80)
|
||||
toolbox.register("diff_new_conn", random.uniform, 0.0, 1.0)
|
||||
toolbox.register("netw_prf_n", random.randint, 1, 20)
|
||||
toolbox.register("s_r", random.uniform, 0.05, 0.5)
|
||||
toolbox.register("s_r", random.uniform, 0.01, 0.5)
|
||||
toolbox.register("S_r", random.uniform, 0.5, 1.0)
|
||||
toolbox.register("x", random.uniform, 0.0, 1)
|
||||
toolbox.register("k", random.uniform, 0.05, 2.0)
|
||||
toolbox.register("production_increase_ratio", random.uniform, 0.5, 2.0)
|
||||
toolbox.register("k", random.uniform, 0.1, 5.0)
|
||||
toolbox.register("production_increase_ratio", random.uniform, 1, 5.0)
|
||||
|
||||
# 个体与种群注册
|
||||
toolbox.register(
|
||||
|
||||
Reference in New Issue
Block a user