Skip to main content

Python wrapper of the WFG hypervolume calculation functions

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hvwfg-1.0.2.tar.gz (167.1 kB view hashes)

Uploaded source

Built Distributions

hvwfg-1.0.2-cp39-cp39-win_amd64.whl (102.2 kB view hashes)

Uploaded cp39

hvwfg-1.0.2-cp39-cp39-manylinux1_x86_64.whl (334.3 kB view hashes)

Uploaded cp39

hvwfg-1.0.2-cp38-cp38-win_amd64.whl (102.6 kB view hashes)

Uploaded cp38

hvwfg-1.0.2-cp38-cp38-manylinux1_x86_64.whl (344.9 kB view hashes)

Uploaded cp38

hvwfg-1.0.2-cp37-cp37m-win_amd64.whl (102.2 kB view hashes)

Uploaded cp37

hvwfg-1.0.2-cp37-cp37m-manylinux1_x86_64.whl (323.5 kB view hashes)

Uploaded cp37

hvwfg-1.0.2-cp36-cp36m-win_amd64.whl (101.1 kB view hashes)

Uploaded cp36

hvwfg-1.0.2-cp36-cp36m-manylinux1_x86_64.whl (317.9 kB view hashes)

Uploaded cp36

hvwfg-1.0.2-cp35-cp35m-win_amd64.whl (101.5 kB view hashes)

Uploaded cp35

hvwfg-1.0.2-cp35-cp35m-manylinux1_x86_64.whl (317.2 kB view hashes)

Uploaded cp35

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page