hvwfg

Python wrapper of the WFG hypervolume calculation functions


License
GPL-3.0
Install
pip install hvwfg==1.0.2

Documentation

hvwfg

Python wrapper for the Hypervolume calculation code of the Walking Fish Group

This package needs Cython and numpy to be installed.

python setup.py install

Usage

import numpy as np
import hvwfg

# Fitness vector assuming minimization
obj = np.array([[0.3, 0.6],
                [0.4, 0.4],
                [0.6, 0.2]])

ref = np.array([1.1, 1.1])

hvwfg.wfg(obj, ref)

Depending on the input size, the fastest code is selected.