Commit Graph

34 Commits

Author SHA1 Message Date
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
George Lacey
20fb79ef76 Remove flag 2017-10-09 22:08:34 +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
8956dfefed Save figure 2017-09-30 17:34:40 +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
b75b1c8e02 Fix printing 2017-09-27 23:39:44 +01:00
67a0a69350 Plot best fitness
- Print epochs throughout run
- Introduce wait parameter
2017-09-27 23:37:37 +01:00
ecd8e35888 Iterate 1000 times and print 2017-09-27 13:50:13 +01:00
328064cb7c Set values between 0.0 and 1.0 only 2017-09-27 13:48:39 +01:00
a5a8108e99 Implement mutation 2017-09-26 16:17:54 +01:00
dcfb7f2e34 Fix static random 2017-09-26 16:17:31 +01:00
9d2494660b Loop through generations 2017-09-26 16:16:53 +01:00
c8b34af323 Implement class method 2017-09-25 19:03:46 +01:00
ceb10dbbde Create children correctly 2017-09-25 19:03:27 +01:00
af16b969b4 Loop through generations 2017-09-25 19:03:03 +01:00
6d1c9be3a3 Implement advance_generation
-Implement printing
2017-09-25 09:47:56 +01:00
1e97d4e031 Implement printing 2017-09-25 09:46:52 +01:00
George Lacey
1925b4c005 Derive population size from args 2017-09-24 18:22:20 +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
b4d9ea26bf Don't return fitness 2017-09-23 19:08:49 +01:00
42e33b0399 Create population object 2017-09-22 16:45:02 +01:00
2c7ffe39a3 Create Population class 2017-09-22 15:58:00 +01:00
9563ba7222 Store fitness 2017-09-22 15:56:56 +01:00
5e80a61064 Initialise randomly 2017-09-21 17:09:09 +01:00
80cebfe5fa Spawn population 2017-09-21 15:58:31 +01:00
0e6d124eaa Convert to class 2017-09-21 15:33:49 +01:00
2a99fdbf13 Implement fitness function 2017-09-21 15:23:10 +01:00
7814daec5c Ignore pycharm directory 2017-09-21 15:22:52 +01:00
d7c00d883d Initial commit 2017-09-21 10:27:03 +01:00