Commit Graph

18 Commits

Author SHA1 Message Date
29a294ff1d Minor refactor 2018-02-06 19:02:28 +00:00
17cf9a67db Tidy code
- Don't mutate the elite
- Remove unused methods
- Remove roulette selection
2017-10-16 16:19:21 +01:00
300678156c Implement tournament selection 2017-10-13 16:20:58 +01:00
4b1a9c3709 Implement multiprocessing 2017-10-13 13:46:56 +01:00
0ff13b8e2f Run example instance
- Save results to csv
- Generate csv attributes
2017-10-12 16:45:30 +01:00
858fb48a4b Allow multiple instances to run 2017-10-11 17:31:34 +01:00
George Lacey
dc111a64f8 Fully migrate from flags
- Copy members to new array
- Replace members
- Don't remove members from population
2017-10-09 22:41:27 +01:00
b62202ccd2 Begin refactor 2017-10-06 17:40:17 +01:00
George Lacey
985fac54a2 Revamp algorithm
- Implement variable elitism and crossover
- Don't crossover all members
2017-10-01 20:45:49 +01:00
eac58f519f Add todos 2017-09-29 17:49:13 +01:00
c4bed833cc Implement better probability calculator 2017-09-27 23:40:14 +01:00
a5a8108e99 Implement mutation 2017-09-26 16:17:54 +01:00
ceb10dbbde Create children correctly 2017-09-25 19:03:27 +01:00
6d1c9be3a3 Implement advance_generation
-Implement printing
2017-09-25 09:47:56 +01:00
George Lacey
7797ebd07b Begin implementation of advance generattion 2017-09-24 18:21:50 +01:00
George Lacey
8baa410fa4 Implement roulette method 2017-09-24 17:38:04 +01:00
8ea4b82c0d Calculate and return total fitness separately 2017-09-23 19:09:38 +01:00
2c7ffe39a3 Create Population class 2017-09-22 15:58:00 +01:00