Biobjective Archive class with hypervolume indicator and uncrowded hypervolume improvement computation
moarchiving.BiobjectiveNondominatedSortedList implements a bi-objective non-dominated archive with
list as parent class. It is heavily based on the
bisect module. It provides easy and fast access to the overall hypervolume, the contributing hypervolume of each element, and to the uncrowded hypervolume improvement of any given point in objective space.
pip install git+https://github.com/CMA-ES/moarchiving.git@master
or simply via
pip install moarchiving
The single file
moarchiving.py (from the
moarchiving/ folder) can also be directly used by itself when copied in the current folder or in a path visible to Python (e.g. a path contained in
moarchiving uses the
fractions.Fraction type to avoid rounding errors when computing hypervolume differences, but its usage can also easily switched off by assigning the respective class attribute.
Fraction type may become prohibitively computationally expensive with increasing
- 0.5.3 fixed assertion error when not using
- 0.5.2 first published version
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size moarchiving-0.5.3-py2.py3-none-any.whl (14.2 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
|Filename, size moarchiving-0.5.3.tar.gz (14.3 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for moarchiving-0.5.3-py2.py3-none-any.whl