- Make MPIUtil a singleton and remove in-module instantiation.
- Standardize docstring for Sphinx documentation
- Fixed important bugs in individual clone.
- Removed redundant calling of fitness function in iteration.
- Improved the efficiency.
- Removed verboisty parameter for
BinaryIndividual
class. - Added unittest for decimal individual.
- Added
DecimalIndividual
class. - Added decimal encoding individual support for flip bit mutation classes.
- Fixed some bugs.
-
Changed class names:
GAIndividual
->BinaryIndividual
GAPopulation
->Population
GASelection
->Selection
GACrossover
->Crossover
GAMutation
->Mutation
variants
->solution
-
Added abstract Individual base class
IndividualBase
:- Users can inherit the
IndividualBase
class and add implementations ofencode
anddecode
methods to define you own custom individual class with different encoding methods.
- Users can inherit the