Commit Graph

633 Commits

Author SHA1 Message Date
1b35a13900 Minor logical bug 2020-11-23 11:54:18 -05:00
243d0dd1a0 Error checking and avoid creating new chromosome for mutation 2020-11-23 11:53:46 -05:00
03debc145c Added type checking if the query is not a list or nested list 2020-11-22 22:32:25 -05:00
4d04b7daab Small rename fix 2020-11-22 22:23:31 -05:00
b793c1d844 Query output is automatically formatted 2020-11-22 22:20:24 -05:00
c8985f9872 Opted for single _ instead of double _ 2020-11-22 17:55:58 -05:00
7c29f04807 Removed get/set 2020-11-22 15:58:55 -05:00
119abea4eb Using random.sample to avoid dupes 2020-11-22 15:58:36 -05:00
cdc2b6bdfb Removed get/set 2020-11-22 15:58:11 -05:00
8ed3cbe0ee Removed get/set 2020-11-22 15:57:36 -05:00
261870d702 Update mutation_methods.py
- Using deepcopy to avoid chromosomes sharing genes.
- Improved readibility.
2020-11-22 15:57:00 -05:00
7bb208b915 Making use of casting to list 2020-11-22 15:49:57 -05:00
691642e19c Removed get/set/size/gene_list 2020-11-22 15:48:38 -05:00
a84b79d391 Removed get/set 2020-11-22 15:48:06 -05:00
f516089e73 Update sql_database.py
- Added some whitespace.
- Cleaned up get_var_name to use yield so no lists are created or modified.
- Converted format_query_data to decorator. Shortens code to allow direct returns for query methods.
2020-11-22 15:47:35 -05:00
953d34f74b Making use of casting to list 2020-11-22 15:44:29 -05:00
057b6d9857 Update setup.py 2020-11-22 00:16:49 -05:00
eac6b787f2 Update README.md 2020-11-22 00:16:30 -05:00
59d660ba26 Fixed database and graph functions 2020-11-21 23:54:26 -05:00
def2fb8455 database setter added 2020-11-21 23:36:39 -05:00
d93444490d Fixed database_name 2020-11-21 23:11:47 -05:00
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