3412c05da2
Cleaned up list usage
2020-11-19 18:02:07 -05:00
7511429228
Shortened code
2020-11-19 17:14:14 -05:00
454edb13d1
Avoid overwriting initial population
2020-11-19 16:48:02 -05:00
1bd806591e
Cleaned up __repr__
2020-11-19 12:34:23 -05:00
0ee545429c
Added iterable features
2020-11-19 11:46:47 -05:00
6e95ff5d9d
Rewrote data_list to __iter__
2020-11-19 10:17:22 -05:00
857e248034
Simplified a lot of code by zipping data lists
2020-11-19 09:54:17 -05:00
f1105f4df0
Added comment
2020-11-19 09:53:42 -05:00
6c9a9205b0
Added data_list()
2020-11-19 09:53:27 -05:00
76e0439160
Renamed list() to data_list()
2020-11-19 09:53:10 -05:00
d3174a9c8a
Fixed insert_chromosome
2020-11-19 09:52:31 -05:00
8eb436d6a5
Added list function to chromosome class
2020-11-19 01:41:01 -05:00
097e219a03
Fixed population print
2020-11-17 08:42:59 -05:00
1d97a92fb7
Changed population print
2020-11-17 08:40:51 -05:00
c5d323cb20
Fixed termination conditions
2020-11-17 08:27:11 -05:00
55cb086745
Updated repr/str
2020-11-17 08:26:40 -05:00
e7b0e7071c
Change run_testing to run for my fingers sake. Also update setup.py to new version
2020-11-17 02:49:52 -05:00
260d17bf91
Cleaned up the while loop
2020-11-17 01:22:05 -05:00
0d8fb6147c
Updated repr/str
2020-11-16 20:51:09 -05:00
2efebc4bcd
Fixed chromosome so now it adds to the database and added __str__ to chromo
2020-11-16 17:14:09 -05:00
8b6b880ada
Added create_config_table_string function to clean up the create tables function
2020-11-16 16:21:56 -05:00
3bf69b21a6
Fixed to save all ga attributes to config table in database
2020-11-16 15:55:47 -05:00
2a1508468d
Added required tables
2020-11-16 15:32:02 -05:00
b0c7a56b12
Update sql_database.py
2020-11-16 15:18:21 -05:00
add236836c
Fixed bug
2020-11-16 12:27:15 -05:00
2171576a99
Cut down code
2020-11-16 12:23:22 -05:00
bf19b4eba3
Update sql_database.py
2020-11-16 11:35:31 -05:00
88e9b3fca1
Cleaned up sql config
2020-11-16 11:31:54 -05:00
8e90bd558b
Config now adding to database.
2020-11-16 02:50:37 -05:00
eb12f532b3
removed db file
2020-11-15 21:28:12 -05:00
594d0992f6
Added to git ignore. Will ignore the auto generated database file
2020-11-15 09:14:33 +00:00
7d8045692f
changes
2020-11-15 08:59:15 +00:00
2cfb840198
Cleaned code and added functions to graph
2020-11-13 01:43:15 -05:00
efb69f88ea
Updated plt usage
2020-11-12 21:16:17 -05:00
7e0134e785
Fixed bug
...
Potentially 0 mutations occur
2020-11-12 18:46:09 -05:00
6e34020298
Doubled mutation rate. To solve default fitness function.
2020-11-12 18:37:43 -05:00
aa677a1d81
Rewrote for clarity and potential bug
2020-11-12 18:00:22 -05:00
ef5f87cbc6
Fixed bug
2020-11-12 17:59:55 -05:00
0c9c545125
Cleaned up code
2020-11-12 17:50:07 -05:00
ae5fed1d71
Fixed potential bug
2020-11-12 17:49:33 -05:00
45316286c0
Added Permutation class
2020-11-12 17:38:10 -05:00
aab353b825
Changed default percent converged and tolerance goal
...
Should be less likely to converge early since it requires half of the whole population to converge.
2020-11-12 17:20:52 -05:00
ad8243fb6c
Added percent_converged
...
Termination when a specified percent of the population has converged.
2020-11-12 17:14:16 -05:00
3e9c2fc784
Multiple updates
...
- Removed obsolete whole_chromosome method.
- Renamed single_gene to individual_genes.
- Rewrote single_genes to use copied data instead of modifying original data.
- Added random_selection_then_cross.
2020-11-12 17:13:23 -05:00
8548e9963c
Added percent converged and renamed default methods
2020-11-12 17:10:47 -05:00
6dd98f0d8d
fixed omw
2020-11-12 16:49:34 -05:00
5a72a8493d
Fixed variable names
2020-11-12 16:47:36 -05:00
6b35a7398a
Merge branch 'master' of https://github.com/danielwilczak101/EasyGA
2020-11-12 16:43:20 -05:00
0429c3756c
Fixed x,y,title labels
2020-11-12 16:41:12 -05:00
22bd0527e5
Deepcopy'd data
2020-11-12 16:40:00 -05:00