Commit Graph

292 Commits

Author SHA1 Message Date
96767ad03c Added save_population
for easier front-end usage.
2020-11-07 18:21:43 -05:00
e1f794d7b7 Database files renamed 2020-11-07 17:17:18 -05:00
c959f44fd5 GA gives graph the database 2020-11-07 13:32:34 -05:00
f1f9d70c26 Fixed graph features
- Common graph code made into a method.
- No longer needs the user to pass in the ga for graphing.
- Changed graph attribute from class to object.
- Added ga to the graph object as an attribute on initialization to avoid needing to pass it in every time you graph.
- Capitalized database/graph classes.
2020-11-07 12:43:47 -05:00
87beba1209 Added comment 2020-11-07 01:57:30 -05:00
918c4f4d5e Updated database ad graph functions. 2020-11-07 01:54:37 -05:00
05b8fd06fa Moved all graphing to its own class 2020-11-06 22:56:16 -05:00
690fa9712e More efficient insertion of entire population
Executes the sql command over the entire population at once.
2020-11-06 21:31:20 -05:00
cb3d91d894 Changed run testing and removed database.db file 2020-11-06 02:16:04 -05:00
5c5b645c30 Added graphing capablities. It only graphs total fitness of generation. 2020-11-06 02:11:06 -05:00
e012f6653c Removed asserts 2020-11-05 17:46:41 -05:00
14c15de7bf Update test_EasyGA.py 2020-11-05 17:37:39 -05:00
7b2053d626 Added basic database functionallity 2020-11-05 15:38:54 -05:00
f6dc70e805 Fixed variable name 2020-11-03 16:49:49 -05:00
72a8975d03 Fixed default arguments
Reverted usage format:
GA(
    chromosome_length = 20,
    population_size = 25
)
2020-11-03 14:30:43 -05:00
0c6d8060a6 Added default run to testing 2020-11-03 14:18:37 -05:00
172918cad7 Added small database functionality but its commented out of running. 2020-11-03 13:43:21 -05:00
e99da737b5 Merge branch 'master' of https://github.com/danielwilczak101/EasyGA 2020-11-03 13:29:30 -05:00
2d2678e865 Changed methods and added database class 2020-11-03 13:29:21 -05:00
621fdef86d Fixed attributes to allow setting attributes on initialization
e.g.
GA({
    'chromosome_length' : 10,
    'population_size'         : 50
})
2020-11-03 13:19:09 -05:00
5b6dc8348a Reverted back to old style of attributes. 2020-11-03 11:47:56 -05:00
cae4314581 Added more comments. 2020-11-03 02:34:16 -05:00
ba2f076a2b Added doc strings to EasyGA ga class and attributes class. 2020-11-03 02:32:20 -05:00
d4177b08a5 Fixed comments 2020-10-30 11:56:05 -04:00
c9d30be1af Initialization for GA with arguments 2020-10-30 11:52:11 -04:00
2d91037cdf Add example database functionality. Still a work in progress. 2020-10-29 03:18:02 -04:00
524cbdb0ec Input error catching 2020-10-27 18:37:12 -04:00
00af4dbbe7 Added gene mutation rate 2020-10-27 17:32:40 -04:00
0b5f42966c Update population before mutation 2020-10-27 16:23:48 -04:00
241f5e9e89 Chnaged testing and word in setter error 2020-10-27 15:35:56 -04:00
19173bcfd2 added tests 2020-10-27 15:32:38 -04:00
ae74ce1766 Minor edits 2020-10-25 22:36:54 -04:00
d01096c1ea Fixed print tabbing 2020-10-22 19:07:43 -04:00
c84758f8c5 Neatified ga.print stuff and altered run_testing 2020-10-22 19:05:43 -04:00
50aa1587ae Update termination_methods.py 2020-10-22 18:28:26 -04:00
9baf3c7dc5 Fixed termination related stuff 2020-10-22 18:23:27 -04:00
4ca859c34a Updated termination related settings 2020-10-22 18:18:00 -04:00
e5bf5166f7 Pushed something by mistake 2020-10-22 00:20:17 -04:00
1a4df37193 Merge branch 'master' of https://github.com/danielwilczak101/EasyGA 2020-10-22 00:12:13 -04:00
6c6c64e342 Updated fitness based termination and fixed some EasyGA stuff 2020-10-22 00:05:42 -04:00
74f6c8957b Added some error checking 2020-10-22 00:03:51 -04:00
8e2698fc0d Implemented basic functionality for using different target fitness types 2020-10-21 14:11:43 -04:00
9101072f26 Update parent_selection_methods.py 2020-10-18 23:28:07 -04:00
dd294db952 Renamed parent selection subclasses to rank/fitness 2020-10-18 21:08:54 -04:00
d8e5296ef5 Fixed spacing mistakes and added comments 2020-10-15 12:56:59 -04:00
ce62bc50e5 Added atrributes class 2020-10-15 12:47:12 -04:00
ec1b67fc00 Added Default for gene impl and setter example in Easy GA 2020-10-15 01:46:13 -04:00
5df19df643 Population.next_population and better comments 2020-10-15 00:22:58 -04:00
543b295e52 Updated gene impl 2020-10-14 23:09:55 -04:00
0090db9dce Fixed method names and added some crossover methods and tests for floats 2020-10-13 21:07:05 -04:00