Skip to main content

Module simplicialcomplex

Module simplicialcomplex 

Source
Expand description

The simplicial complex data structure.

A SimplicialComplex composes a Hypergraph and enforces closure under faces: adding a simplex also adds every missing subface of size >= 2. A lazily-computed FaceLattice caches the immediate-face relation; it is invalidated on every mutation. XGI parity: xgi.SimplicialComplex (simplicialcomplex.py).

Structsยง

FaceLattice
The cached immediate-face relation: each simplex id maps to the ids of the codimension-1 simplices present in the complex that are its faces.
SimplicialComplex
A simplicial complex (undirected, closed under faces).