Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 581 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 581 Bytes

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.