{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "Tree",
 "ref": "Tree#dd92",
 "hash": "sema:Tree#mh:SHA-256:dd927c24f8165bd3ddc75b29cc96c1e43eb45bdaf084ba1e2bce2b0a71ab05ec",
 "stub": "dd92",
 "layer": "Infrastructure",
 "type": "Data Structures",
 "summary": "Branching reasoning topology",
 "mechanism": "A branching Topology#58ad where multiple lines are explored simultaneously — lines of reasoning, of search, or of provenance. Allows backtracking and pruning of unpromising branches (BFS/DFS). A Tree is the constrained form of a directed acyclic graph where each non-root node has exactly one parent.",
 "invariants": [
  "Rootedness: All nodes descend from a single root.",
  "Acyclicity: No node is an ancestor of itself."
 ],
 "parameters": [
  {
   "name": "breadth",
   "type": "PositiveInteger",
   "range": "unspecified",
   "description": "Maximum branches explored per node. Left open at the foundation: binary trees use 2, beam search uses 50+, decision trees can be millions. Descendants specialize."
  },
  {
   "name": "depth",
   "type": "Integer",
   "range": "[1, 20]",
   "description": "Maximum tree depth"
  }
 ],
 "signature": [],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "Tree",
 "builds_on": [
  {
   "alias": "topology",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Topology",
   "ref": "Topology#58ad",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Topology"
  }
 ],
 "related": [],
 "used_by": [
  {
   "slug": "Chain",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Chain"
  },
  {
   "slug": "Forest",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Forest"
  },
  {
   "slug": "Reason",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Reason"
  },
  {
   "slug": "RootSolver",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/RootSolver"
  },
  {
   "slug": "Solution",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Solution"
  },
  {
   "slug": "SolverTree",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/SolverTree"
  },
  {
   "slug": "StrategicReading",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/StrategicReading"
  },
  {
   "slug": "TreeOfThoughts",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/TreeOfThoughts"
  },
  {
   "slug": "UniversalSolverTree",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/UniversalSolverTree"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/Tree",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/Tree.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
