Commit Graph

662 Commits

Author SHA1 Message Date
056d67306b Added connection getter and setter 2020-11-21 23:04:07 -05:00
d8974ddb1c Nested try/except fix 2020-11-21 21:36:07 -05:00
bd9016a297 Update matplotlib_graph.py 2020-11-21 21:35:43 -05:00
2f1e21f828 Added to database file 2020-11-21 20:40:10 -05:00
1a8219d720 Simplified using random.choices 2020-11-21 16:39:43 -05:00
815dc2a5c3 Potentially faster list 2020-11-21 16:14:10 -05:00
f00785dad1 Fixed chromosome length instead of population size 2020-11-21 16:12:37 -05:00
c46d54517b Fixed generation termination and cleaned up code 2020-11-21 15:49:46 -05:00
bc7d041f00 Fixed lambda return bug 2020-11-21 15:47:55 -05:00
610b23dc3a Fixed graphing functions and added optional config_id to graphing functions 2020-11-21 15:32:01 -05:00
f3d4712097 Update README.md 2020-11-21 15:28:41 -05:00
470b33aa31 Cleaner random functions used. 2020-11-20 19:58:25 -05:00
73461f7915 Comments updated 2020-11-20 19:06:55 -05:00
68b10c3fde Minor changes 2020-11-20 09:20:02 -05:00
09142b5e05 Split into function decorators 2020-11-20 09:19:43 -05:00
a65cdb1056 Consistent function decorator format 2020-11-20 09:19:09 -05:00
d4c9f3b926 Exception comes after main code 2020-11-20 09:18:23 -05:00
2ad19a50d3 Cleaned up repr using enumerate 2020-11-20 09:17:17 -05:00
aa1537b5dd Fixed comment. 2020-11-20 09:16:56 -05:00
abcb19f8b0 Split the process into function decorators 2020-11-20 09:16:30 -05:00
c212da2426 Further split values to chromosomes decorator 2020-11-20 09:15:31 -05:00
965ad352a6 Added copies for external access of function decorators 2020-11-19 23:25:33 -05:00
3d10adb2d9 Fixed scope of function decorators 2020-11-19 22:28:04 -05:00
46b4dc749d Added function decorator 2020-11-19 21:55:12 -05:00
a8b38dc800 Added function decorator 2020-11-19 21:47:45 -05:00
652e4a4b5b Added function decorators 2020-11-19 21:28:16 -05:00
0bd08b94a9 Added function decorators 2020-11-19 21:16:51 -05:00
d90618a614 Added function decorators 2020-11-19 20:47:10 -05:00
2c46e32782 Minor changes and fixes
__iter__ has to return an iter
2020-11-19 20:18:11 -05:00
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