a1d72ec868
Using try except
2020-12-28 15:06:29 -05:00
d0894c18fb
Added reset run method
2020-12-28 11:14:23 -05:00
364edff3a3
Added run attribute and check for the name of the first argument
2020-12-28 11:13:15 -05:00
e46e1bce96
Changed __setattr__ for clean inheritance approach
...
No longer necessary to prepend built-in method names with _ when defining bound class methods
2020-12-27 14:55:46 -05:00
98600314c0
Now supporting method overriding instead of attribute setting
2020-12-27 10:12:31 -05:00
2b6f0e2e97
Decorators cleanly preserve both function names and doc-strings.
2020-12-27 10:11:43 -05:00
44683c7fae
Fixed decorator name issue
2020-12-26 15:53:45 -05:00
adbfdd4dbe
Fixed decorator name issue and default weight
2020-12-26 15:19:19 -05:00
5d88de1195
Removed initialization methods
2020-12-24 11:22:01 -05:00
f5244e3cc9
Cleaner structure repr without making assumptions on usage
2020-12-23 11:41:27 -05:00
adab92216f
Removed unnecessary code and decorator naming
2020-12-21 09:56:56 -05:00
c43eef38c4
Added automatic casting to all methods
2020-12-20 22:01:15 -05:00
97c614c74c
Fixed repr format string
2020-12-20 15:53:56 -05:00
27cc94e488
Added automatic casting for easier usage
2020-12-20 15:33:12 -05:00
97cb4e869c
Added another mutation method
2020-12-20 14:01:26 -05:00
91da18cf54
Additional error checking for permutation methods
2020-12-20 14:00:52 -05:00
ef3be9d5d1
New data structure features make initializing the population much simpler
2020-12-20 14:00:10 -05:00
a15803e7ef
Proper repr implementations, improved index_of method, and improved initialization
...
- Repr now supports reversal using eval i.e. obj == eval(repr(obj)) for any data object. This assumes a GA object called ga.
- Index of now supports local searching if an estimate of the index is given.
- Initialization of data objects is now easier and works for any iterable input e.g. ga.make_chromosome
2020-12-20 13:59:12 -05:00
6861688400
Renamed create methods to make methods for consistency and fixed fitnesses after adapting
2020-12-20 13:58:21 -05:00
ed67697cee
Renamed create methods to make methods for consistency
2020-12-20 13:57:37 -05:00
eaf22c07d2
Update parent_selection_methods.py
2020-12-13 12:11:42 -05:00
403219a7ba
Fixed stochastic_arithmetic inflation
2020-12-13 12:11:09 -05:00
3dbc68a667
Extended to allow selection probabilities of 0 or 1
2020-12-13 11:36:13 -05:00
210abf2ab7
Fixed allowable bounds for mutation rates
2020-12-13 10:41:16 -05:00
f64b5f6a6a
Removed unnecessary deepcopies
2020-12-13 10:28:16 -05:00
f3460617f6
Added stochastic arithmetic
2020-12-13 10:26:34 -05:00
f0a9d77f70
Added Arithmetic.average
2020-12-13 10:08:13 -05:00
ffb36c91fc
Avoid adapting on the first generation and catch wrong target fitness type
2020-12-13 10:07:23 -05:00
bd5b5b6e95
Merge branch 'master' of https://github.com/danielwilczak101/EasyGA
2020-12-11 14:11:00 -05:00
53335f9d2f
Merged evolve and evolve_generations
2020-12-11 14:06:01 -05:00
a3bff6879d
Update attributes.py
2020-12-11 14:05:28 -05:00
3adef48b54
Added randround
2020-12-11 14:04:59 -05:00
fae7a83f0a
Delete google968b87ba52371819.html
2020-12-11 04:14:22 -05:00
87ceba8435
Set theme jekyll-theme-cayman
2020-12-11 04:12:22 -05:00
3a396a7895
Update README.md
2020-12-11 04:07:19 -05:00
7129ff5539
Update README.md
2020-12-11 04:06:53 -05:00
647f1614a8
Add files via upload
2020-12-11 04:06:05 -05:00
6c9e5cbb91
Delete google968b87ba52371819(1).html
2020-12-11 04:05:02 -05:00
8c5c2f0636
Add files via upload
2020-12-11 04:04:52 -05:00
03c4648a24
Fixed adapt probability sums
2020-12-09 11:41:56 -05:00
4edf073f32
Tournament selection improved slowest case.
2020-12-09 11:03:04 -05:00
dcf14b945f
Better random avoid best
2020-12-09 10:55:33 -05:00
a404eba685
Changed the way probabilities adapt work
2020-12-09 10:35:09 -05:00
f94a7ec9a8
Fixed rate bounds
...
Avoid extremely slow generations due to either
- Excessive mutations.
- Extreme selection probabilities, which make tournament selection struggle.
2020-12-09 10:34:34 -05:00
efcd571a9a
Update setup.py
2020-12-09 01:57:52 -05:00
f5935c9a5a
changed run.py
2020-12-09 01:50:24 -05:00
d71b5e81bf
Merge branch 'master' of https://github.com/danielwilczak101/EasyGA
2020-12-09 01:49:41 -05:00
2cc7d93793
Change adapt rate and turn it off by default
2020-12-09 01:49:31 -05:00
c65cfdcea0
Update setup.py
2020-12-08 17:04:49 -05:00
160e67bb21
Fixed changing database field issue
2020-12-08 02:57:39 -05:00