connectedComponents Delta
Two vertices $v$ and $w$ in $\Delta$ are connected if there is a sequence of facets $F_0, F_1, \ldots, F_k \in \Delta$ such that $v \in F_0$, $w \in F_k$ and $F_i \cap F_{i+1} \neq \varnothing$ for all $1 \leq i \leq k-1$. A connected component of $\Delta$ is a maximal subcomplex of $\Delta$ in which all pairs of vertices are connected.
Our first example is an abstract simplicial complex with two connected components.
|
|
|
|
The void and irrelevant complexes each have one connected component.
|
|
|
|
|
|