Commit Graph

30 Commits

Author SHA1 Message Date
321e4353d8 add elitism 2026-02-06 09:30:23 +01:00
0a1192ca40 fix plot labels 2026-02-06 09:29:53 +01:00
6c008810ad memoize linear regression
down to 0.7 sec runtime
2026-02-06 09:17:59 +01:00
99bf6f766c optimize #1: memory allocations 2026-02-06 09:10:22 +01:00
b182a4fead proper seeded randomness 2026-02-06 08:57:13 +01:00
4f69d0f9c9 seeded randomness through context.random_generator 2026-02-06 08:27:40 +01:00
cc911f28df it works! 2026-02-01 18:44:10 +01:00
b44807ff31 holy what is going on 2026-02-01 17:51:07 +01:00
1e50e1a8e6 prettier plotting! 2026-02-01 12:11:38 +01:00
5900a8ad17 plot data.csv in plot.png using uiua 2026-01-31 18:48:15 +01:00
0ab47a72f4 print out bit-string of found solution 2026-01-31 18:22:38 +01:00
b567855bc1 write data to csv file 2026-01-31 18:13:30 +01:00
e450625077 major refactor 2026-01-31 17:39:55 +01:00
8ca904fc0a fix penalty bug 2026-01-31 15:55:59 +01:00
dcdf9ebd2a it works! 2026-01-31 15:42:13 +01:00
320c75b2d5 ! tie it all together 2026-01-31 15:42:13 +01:00
7703846db9 implement elitism_survivor_selection 2026-01-31 15:42:13 +01:00
5c66bdb5cd implement inversion_mutation 2026-01-31 12:18:22 +01:00
b5efeb0642 implement swap_mutation 2026-01-31 12:18:22 +01:00
fcfb934d8c implement bit_flip_mutation 2026-01-31 12:18:22 +01:00
7cb9407e61 implement uniform_crossover 2026-01-31 12:18:22 +01:00
c09f0c0e02 implement two_point_crossover 2026-01-31 11:55:37 +01:00
f755e55688 implement single_point_crossover 2026-01-31 11:52:12 +01:00
48b37d2914 implement roulette_selection 2026-01-31 11:46:57 +01:00
eb4a13524c implement tournament_selection 2026-01-31 11:41:09 +01:00
763b2fdb49 generate and destroy population 2026-01-31 11:31:18 +01:00
213e796068 use bit_array instead of []bool 2026-01-31 11:19:14 +01:00
7df33a810b implement fitness function with penalty 2026-01-31 10:51:02 +01:00
cacc2911f1 read data 2026-01-31 10:51:02 +01:00
93264c3131 initial odin flake 2026-01-30 20:21:23 +01:00