Commit Graph

15 Commits

Author SHA1 Message Date
David Pätzel 3c1a1a9be6 Rewrite 'Seminar.valid' check with tests 2019-10-19 15:50:02 +02:00
David Pätzel c8af014976 Setup QuickCheck testing 2019-10-18 23:20:19 +02:00
David Pätzel e0b5de5a7f Update cabal description, add extra package etc. 2019-10-18 23:15:54 +02:00
David Pätzel 73c62b0a8f Add better default priorities and fitness
By not having too large default priorities, the GA seems to be more stable.
Instead of inverting the relation induced by fitness using `(1 /)`, we use
`negate` to get more numerical stability (or in this case, less instability
introduced by floating point precision problems).
2019-10-18 13:47:03 +02:00
David Pätzel ec84f84aa8 Add 1-elitism as (unchangeable, for now) default 2019-10-18 13:43:18 +02:00
David Pätzel 958bbf25b7 Add primitive iteration count CLI argument 2019-10-18 13:37:16 +02:00
David Pätzel 303120f54a Fix result extraction 2019-10-18 13:36:59 +02:00
David Pätzel 6c41743dbd Divide step and run, add progress support via pipes 2019-10-18 09:57:43 +02:00
David Pätzel 531cb74aac Rename Topic to T, fix T Eq instance, fix fitness calculation 2019-10-18 09:10:11 +02:00
David Pätzel 5f4e212414 Add Seminar module draft and SS19 example 2019-10-17 19:50:39 +02:00
David Pätzel 49b105f42a Cleanup existing GA code 2019-10-17 18:23:19 +02:00
David Pätzel 296b2e218c Add executable to package definition 2019-10-17 17:25:58 +02:00
David Pätzel 1d62a5cbea Correct package name, add draft for GA module 2019-10-17 17:25:25 +02:00
David Pätzel 6ab1a2acba Add Pretty class 2019-05-30 12:40:47 +02:00
David Pätzel 2929bc7e92 Initialize project 2019-05-30 12:40:32 +02:00