Skip to main content

MAX_HYPERCUBE_DIMENSION

Constant MAX_HYPERCUBE_DIMENSION 

Source
pub const MAX_HYPERCUBE_DIMENSION: u32 = 30;
Expand description

Maximum dimension accepted by hypercube.

At n = 30 the graph already has 2^30 ≈ 1.07 × 10^9 vertices and 2^29 · 30 ≈ 1.6 × 10^10 edges, which is well beyond practical workloads. The upper bound also guarantees 1u32 << n is always well-defined.