Skip to main content

MAX_EXACT_HYPERVOLUME_DIM

Constant MAX_EXACT_HYPERVOLUME_DIM 

pub const MAX_EXACT_HYPERVOLUME_DIM: usize = 3;
Expand description

The highest objective count hypervolume computes exactly.

Above this the function refuses rather than silently running an algorithm whose cost explodes: exact hypervolume is #P-hard in the number of objectives, and every general algorithm (HSO, WFG, FPRAS) is either exponential in the dimension or approximate. Refusing is the honest answer for a function whose contract says exact; a general-dimension WFG implementation is a later slice, and it will be a new entry point rather than a silent change of this one’s cost.