mercurial.hierarchy.levels module

Hierarchical level taxonomy (LADDER).

class mercurial.hierarchy.levels.HierarchicalLevel(index: int, lower_bound: float, upper_bound: float, label: str = '')[source]

Bases: object

A single level L_n with complexity range.

Methods

contains

contains(complexity: float) bool[source]
class mercurial.hierarchy.levels.LadderHierarchy[source]

Bases: object

Complete LADDER taxonomy (Levels 0‑18).

Methods

complexity_measure(pattern)

Compute Λ(P) = α log₂ N_dof + β I_int + γ Σ.

get_level

LABELS = ['Neutral Substrate', 'Quantum‑Gravitational', 'Elementary Particles', 'Composite Particles', 'Atomic Species', 'Molecular Aggregates', 'Mesoscale Structures', 'Macroscopic Materials', 'Functional Assemblies', 'Integrated Biological', 'Networked Systems', 'Planetary Systems', 'Interplanetary', 'Interstellar', 'Galactic', 'Intergalactic', 'Cosmic Web', 'Observable Universe', 'Entire Branch']
THRESHOLDS = [0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0]
complexity_measure(pattern) float[source]

Compute Λ(P) = α log₂ N_dof + β I_int + γ Σ.

get_level(complexity: float) HierarchicalLevel | None[source]