SimpleArt
SimpleArt
Worth noting that the main problem with adding type hints to this is the dynamic structure of all the `key=` cases, which seems to have been the main cause for...
It looks to me like conditional types do not add much here other than more verbose syntax and potentially a few cases where you could sneak in an `if sys.version_info...
One use-case I have had where it was not possible to cleanly emulate the desired behavior was with generic instance variables: ```python from dataclasses import dataclass from typing import Generic,...
I think maybe it ought to be: ```python def __and__(self, other): """Return the intersection of two sets as a new sorted set. ``ss.__and__(iterable)`` ``ss & iterable`` """ intersect = self._set.__and__(other)...
Actually I don't believe `set & iterable` works, only `set & set` works, so it'd have to be either `set.intersection(iterable)` with a `try` block or an `if` check beforehand.
You would have to write your own implementations of the parent selection/crossover/etc. as well as potentially ga.set_all_fitness to perform calculations with multi-processing. Before you do that, you should consider tweaking...