---
library: "bootstrap"
slug: "Forest"
name: "Forest"
ref: "Forest#8432"
hash: "sema:Forest#mh:SHA-256:8432cd0407a2c1a964493f3864d6fd2a8fcb075c70bb46823edfd112489fcdc7"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Forest"
---

# Forest

Topology of N independently-rooted trees with no shared apex

Infrastructure · Data Structures

## Mechanism

A topology consisting of two or more independently-rooted [Tree](https://semahash.org/vocabularies/bootstrap/patterns/Tree.md)s with no shared apex. Each constituent tree can be traversed standalone; the Forest is the named collection. Distinct from a single tree with many branches: a Forest has *no shared root*, so removing any one tree does not affect the others. Found in random-forest ensembles (ML), disjoint-set forests (union-find CS), process forests (OS sessions), multi-repo organizations (git), federated solver trees across organizations, and biological forests (where cross-tree links exist but do not create a shared apex). Variation across descendants concerns whether the trees are strictly disjoint or share substrate (mycorrhizal biology, content-addressed commons) and whether merge/split operations are supported (union-find).

## Invariants

- Multiplicity: a Forest contains at least two [Tree](https://semahash.org/vocabularies/bootstrap/patterns/Tree.md)s; a single tree is not a forest.
- Apex-disjoint: no node is an ancestor of any node in a different constituent tree.
- Tree-wellformedness: each constituent is itself a valid Tree (rooted, acyclic).

## Where this came from

—

## Builds on

- [Tree](https://semahash.org/vocabularies/bootstrap/patterns/Tree.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Forest#8432
- Hash: sema:Forest#mh:SHA-256:8432cd0407a2c1a964493f3864d6fd2a8fcb075c70bb46823edfd112489fcdc7

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Forest
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Forest.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
