Commit Graph

113 Commits

Author SHA1 Message Date
Michael Peters
8e3404b8c6 these snakes are lazy! 2024-09-08 14:30:02 -07:00
Michael Peters
f2c2e6d86b add a small stat 2024-09-04 21:07:52 -07:00
Michael Peters
a69af98250 enable full sized snake genome 2024-09-04 21:04:47 -07:00
Michael Peters
b33ffc3baa fix crossGenomes to prevent cycles 2024-09-04 21:00:07 -07:00
Michael Peters
a5884a68db exclude both sources and sinks from findAcyclicInternalNewConns 2024-09-04 20:32:53 -07:00
Michael Peters
a0a2e7c9bb add setUnion and make setIntersection more versatile 2024-09-04 20:27:50 -07:00
Michael Peters
c7abcbb03a identify an especially tricky bug 2024-09-03 21:41:54 -07:00
Michael Peters
9e624f225e get started with actually running the simulation using the NEAT brain 2024-09-03 20:48:38 -07:00
Michael Peters
c631383087 intermediate commit -- working on makeLab 2024-08-29 16:39:08 -07:00
Michael Peters
c224f1a609 archive ioset 2024-08-29 16:09:44 -07:00
Michael Peters
e0838d091c add smoke test for neat-snake-brain.ts 2024-08-29 16:07:58 -07:00
Michael Peters
72a761eb3d NEATSnakeBrain rename 2024-08-29 15:58:48 -07:00
Michael Peters
08c9a27266 add tests for computeNextGeneration 2024-08-29 15:54:33 -07:00
Michael Peters
4350b425ee neat.ts and neat-brain.ts split out 2024-08-29 15:39:24 -07:00
Michael Peters
dca576b4f0 add todos 2024-08-29 00:20:23 -07:00
Michael Peters
6e470c18f1 rest of computeNextGeneration 2024-08-29 00:16:48 -07:00
Michael Peters
acc4c2f7aa initialSpeciate -> assignSpecies 2024-08-29 00:12:18 -07:00
Michael Peters
df00f3806d tweaks for champions 2024-08-28 23:44:16 -07:00
Michael Peters
8bf420498e use terms for "Tournament Selection" 2024-08-28 23:41:16 -07:00
Michael Peters
4d2e5b4b44 adjust chooseSurvivors -> chooseByFertility to also give the champions 2024-08-28 23:27:58 -07:00
Michael Peters
21bf8f781e add snake brain neat 2024-08-28 21:39:39 -07:00
Michael Peters
52691ff9c0 NEATBrain 2024-08-28 21:12:32 -07:00
Michael Peters
74eb95364e add test for crossGenomes 2024-08-27 22:13:55 -07:00
Michael Peters
465ac4b9dd add crossGenomes implementation 2024-08-27 22:04:41 -07:00
Michael Peters
566759e781 align genomes with mom/dad notation 2024-08-27 21:47:20 -07:00
Michael Peters
5762b80475 add todo 2024-08-27 20:40:52 -07:00
Michael Peters
b5abd76f83 add chooseMate function and tests 2024-08-27 20:35:03 -07:00
Michael Peters
687fedca63 add thinking test 2024-08-27 17:43:09 -07:00
Michael Peters
6eaf7b8182 potential 2024-08-26 23:15:03 -07:00
Michael Peters
fce2827422 add test for find acyclic connections 2024-08-26 23:14:24 -07:00
Michael Peters
97c74315d1 add tests for up to mutate new node 2024-08-26 22:55:56 -07:00
Michael Peters
98aacec09e add assertDeepEqual 2024-08-26 22:40:25 -07:00
Michael Peters
c740c12b09 prepare for assert 2024-08-26 22:25:08 -07:00
Michael Peters
a7661f28fe add test for choose survivors 2024-08-26 22:20:10 -07:00
Michael Peters
a8f1d1973a add mapmap and mapinvert 2024-08-26 16:00:12 -07:00
Michael Peters
ae22555a06 add tests for initialSpeciate 2024-08-26 15:23:07 -07:00
Michael Peters
203645f5a5 naming improvements 2024-08-26 14:48:57 -07:00
Michael Peters
9cf0b84947 move mutate parts into testable functions 2024-08-26 14:43:59 -07:00
Michael Peters
889b0dfa77 create new connection script 2024-08-26 14:09:48 -07:00
Michael Peters
871d531972 rename network2 -> network 2024-08-22 22:11:15 -07:00
Michael Peters
931decf55e start using network2 2024-08-22 22:07:44 -07:00
Michael Peters
24c129ed4b clean up imports 2024-08-22 21:49:01 -07:00
Michael Peters
a8723a24cb fix addtest 2024-08-22 21:44:39 -07:00
Michael Peters
b240cb1cbd add test for toposort 2024-08-22 21:43:46 -07:00
Michael Peters
5c67fe8258 add functionality for testtraceparents 2024-08-15 20:58:06 -07:00
Michael Peters
3b0a72820a start adding tests for network2 2024-08-15 19:02:04 -07:00
Michael Peters
f8b74fdbe3 start on a network2 2024-08-15 00:03:29 -07:00
Michael Peters
06b935de72 add traceparents to efficiently trace all parents of all nodes in the graph 2024-08-14 19:46:55 -07:00
Michael Peters
a3e6b0ed80 start on mating functions 2024-08-13 23:09:05 -07:00
Michael Peters
f25cf395bc start choosing survivors 2024-08-13 17:42:41 -07:00