liveBook · Manning

Region

As explained in Advanced Algorithms and Data Structures

A region is a subset of the search space associated with the points reachable through a particular tree node.

A region is the subset of search-space values associated with a tree node. In a binary search tree or k-d tree, the node’s pivot and ancestor partitions determine which searches pass through it. section 9.2.1

Regions become progressively smaller as tree construction adds pivots:

  • The root covers the entire dataset or search space. section 9.2.1
  • Each child covers a partition created by its parent’s pivot; deeper nodes cover smaller partitions. section 9.2.1
  • For a queried point, every node on its search path covers that point, while the stopping node covers the smallest corresponding region. section 9.2.1

Alternating spatial partitions

In a two-dimensional k-d tree, one pivot can split a map vertically; a child then splits its partition horizontally. The child therefore represents a top or bottom sub-region within the parent’s region.

How Advanced Algorithms and Data Structures covers it

How deep it goes
Defines regions through pivots and search paths, then illustrates hierarchical refinement without developing search complexity.
Examples
Uses one-dimensional pivot partitions and a two-dimensional city map split vertically and horizontally.
What you can do after
Understand which search-space subset each tree node covers and identify the smallest region reached by a query.
How it connects
Connects regions to binary search trees, k-d trees, pivots, coordinate dimensions, and spatial partitioning.

Also explained in

Compare how 2 books explain region →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Advanced Algorithms and Data Structures. The section links point to the parts of the book it draws on.