jlu-ilr-hydro / jlu-ilr-hydro/hypervolume

Make hypervolume a function hvc.py

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently using hypervolume looks like:

import hypervolume as hv
hypervolume = hv.Hypervolume()
result = hypervolume(data)

which is counterintuitive. I prefer it simpler:

import hypervolume as hv
result = hv.hypervolume(data)

Resolution options:

- Move library loading code (`__init__` method) into the function
- Load the library on module level (once per import)
- Leave the class but do the hypevolume=Hypervolume call on module scope

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.