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
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.