Commit Graph

12 Commits

Author SHA1 Message Date
wls2002
edfb0596e7 add input_transform and update_input_transform;
change the args for genome.forward.
Origin: (state, inputs, transformed)
New: (state, transformed, inputs)
2024-06-03 10:53:15 +08:00
wls2002
e65200a94e modify the behavior for mutate_add_node and mutate_add_conn. Currently, this two mutation will just change the structure of the network, but not influence the output for the network. 2024-06-01 20:42:42 +08:00
wls2002
4ad9f0a85a remove attr enable for conn 2024-05-31 22:06:25 +08:00
wls2002
3a7d05f133 show the node cnt and conn cnt in pipeline;
mutate add node or add conn will not happen when there is no enough space for new nodes or conns.
2024-05-31 16:07:23 +08:00
wls2002
6aa9011043 modify pipeline for "update_by_data";
fix bug in speciate. currently, node_delete and conn_delete can successfully work
2024-05-31 15:32:56 +08:00
wls2002
18c3d44c79 complete fully stateful!
use black to format all files!
2024-05-26 18:08:43 +08:00
wls2002
cf69b916af use black format all files;
remove "return state" for functions which will be executed in vmap;
recover randkey as args in mutation methods
2024-05-26 15:46:04 +08:00
wls2002
79d53ea7af All function with state will update the state and return it.
Remove randkey args in functions with state, since it can attach the randkey by states.
2024-05-25 20:45:57 +08:00
wls2002
bc378cec7f make fully stateful in module ga. 2024-05-25 16:54:19 +08:00
wls2002
c0a7503168 make fully stateful in module ga. 2024-05-25 16:47:25 +08:00
wls2002
6a37563696 fix bug in crossover: the child from two normal networks should always be normal. 2024-05-22 10:27:32 +08:00
wls2002
47dbcbea80 change repo structure; modify readme 2024-03-26 21:58:27 +08:00