remove attr enable for conn

This commit is contained in:
wls2002
2024-05-31 22:06:25 +08:00
parent d6e9ff5d9a
commit 4ad9f0a85a
9 changed files with 43 additions and 108 deletions

View File

@@ -11,8 +11,8 @@ if __name__ == "__main__":
genome=DefaultGenome(
num_inputs=3,
num_outputs=1,
max_nodes=5,
max_conns=10,
max_nodes=50,
max_conns=100,
node_gene=DefaultNodeGene(
activation_default=Act.tanh,
activation_options=(Act.tanh,),
@@ -21,8 +21,8 @@ if __name__ == "__main__":
mutation=DefaultMutation(
node_add=0.1,
conn_add=0.1,
node_delete=0.1,
conn_delete=0.1,
node_delete=0.05,
conn_delete=0.05,
),
),
pop_size=1000,