Commit Graph

672 Commits

Author SHA1 Message Date
a2aeb34308 Fixed type-hints for typing.get_type_hints(GA). 2021-07-10 12:44:30 -04:00
0ce567c783 Added direct imports. 2021-07-10 12:43:50 -04:00
7cc2a1dab2 Fixed naming convention. 2021-07-10 12:43:08 -04:00
b84094ad09 Fixed naming convention. 2021-07-10 12:41:21 -04:00
b755ea1502 Added super class searching.
Modifies __post_init__.
Uses the mro resolution order.
Elaborated the doc-string.
2021-07-08 14:29:29 -04:00
d4d614a09c Fixed typo in table structure.
Sad face.
2021-07-08 14:15:00 -04:00
11ac136e21 Cleaned up the __init__.
Instead of asking for permission to change an attribute, we're eager and fix it afterwards using the dataclass post init.
2021-07-08 14:14:18 -04:00
3f2b2cb756 Cleaned up the database.
Fixed sqlite3 Error import.
Changed attributes from annotations to dataclass fields.
Changed decorators into functions.
Cleaned up formatting (query strings/doc-strings).
2021-07-08 11:30:34 -04:00
b81d1614af Added dataclass field.init features. 2021-07-08 10:47:11 -04:00
e2970c0099 Updated __init__ and descriptors for inheritance.
Avoided dataclass overriding methods by customizing the __init__ and moving default methods to the descriptors.
2021-07-08 10:43:46 -04:00
f50e723981 Changed database_name setter error.
Removed unnecessary import and shifted some of the spacing around as well.
2021-07-07 21:21:44 -04:00
33ac462522 Removed unnecessary code
Originally this code was meant to help incorporate the dataclass, until it was found that inheritance solved the issue.
2021-07-07 21:20:26 -04:00
9ee9c75db6 Updated insert_config
Cleaned it up and removed unnecessary code.
2021-07-07 21:03:36 -04:00
82479cf9f2 Refactored using descriptors. 2021-07-07 21:02:41 -04:00
7a7a985b49 Fixed methods
Removed Attributes.properties and implemented private attributes instead.
2021-06-10 22:44:45 -04:00
d752f08a4a Merge branch 'master' of https://github.com/danielwilczak101/EasyGA 2021-06-10 22:15:37 -04:00
a925eb96c8 Fixed methods-dataclass problem
Type-hinted methods as if they were attributes will cause them to be treated as attributes for the dataclass. The type-hints were simply removed.
2021-06-10 22:03:02 -04:00
cd0054b3d0 Implemented __hash__ 2021-06-10 21:56:21 -04:00
4e4935e4cf Update README.md 2021-05-25 23:10:40 -04:00
4248739de8 Implemented save_data flag. 2021-05-24 18:15:49 -04:00
fbf7c9bf61 Added save_data attribute. 2021-05-24 18:14:23 -04:00
2a26a4cc82 Using types.MethodType for casting to method. 2021-05-09 09:52:48 -04:00
f140112980 Updated to annotations instead of dir 2021-05-06 18:39:53 -04:00
9a60416e1d Fixed typo 2021-05-06 18:38:36 -04:00
a2517eb9d6 Fixed mutation to allow chromosome_impl generators under new framework 2021-05-06 18:37:57 -04:00
b004beccc5 Fixed typo 2021-05-06 18:28:41 -04:00
e440a01ad7 Fixed database object initialization 2021-05-06 18:14:41 -04:00
7e0c482545 Fixed recursive setter calls 2021-05-06 18:11:33 -04:00
6a922e4e6e Fixed bug with population_impl 2021-05-06 18:04:38 -04:00
71d2658501 Improved documentation 2021-05-06 17:55:15 -04:00
63c8dc36d2 Improved documentation, type-hints, and dataclass 2021-05-06 17:53:22 -04:00
b4de63eb48 Added save_data attribute to be able to turn off saving the population to the database. 2021-05-04 23:39:37 -04:00
f54c188136 Added average plotting functionality and subplots. 2021-05-04 20:07:33 -04:00
af20ab68d9 Merge pull request #18 from danielwilczak101/development
Added hashing methods for sets/dictionaries.
2021-05-04 01:39:44 -04:00
58815bb0ba Update README.md 2021-04-14 15:33:58 -05:00
b3f75aa02b Update README.md 2021-04-14 15:33:46 -05:00
d955e27d1e Update README.md 2021-04-14 15:32:58 -05:00
908d460c53 Update README.md 2021-04-14 15:23:04 -05:00
292c01449b Update README.md 2021-04-14 15:22:39 -05:00
025df39aca Update README.md 2021-04-14 15:21:47 -05:00
83c35f833b Update README.md 2021-04-14 15:20:22 -05:00
19ad23b43a Update README.md 2021-04-14 15:19:06 -05:00
2fdd2b2370 Update README.md 2021-04-14 15:17:57 -05:00
11635206b6 Update README.md 2021-04-14 15:17:25 -05:00
653484d223 Update README.md 2021-04-14 15:17:01 -05:00
e12287cdcd Added hashing methods for sets/dictionaries. 2021-03-07 14:18:13 -05:00
d0b222ec85 Update README.md 2021-02-06 01:32:19 -05:00
e22feb42f1 Update README.md 2021-02-06 01:31:43 -05:00
33576fa8f4 Update setup.py 2021-02-06 01:30:19 -05:00
b326a1a4aa Delete test_struction.py 2021-02-06 01:22:33 -05:00