Are two events causally connectable — within or on each other’s light cone (timelike or
lightlike, s² ≤ 0)? The relativity-adjusted “could one have influenced the other?” that bounds
temporal logic in 4-D space-time. Spacelike-separated events have no frame-invariant ordering.
Zero-heap, full-polygon RCC-8 over two boundary-vertex slices (+ region ids).
Correctly distinguishes tangential (TPP/TPPi) from non-tangential (NTPP/NTPPi)
proper parts via a point-on-boundary test — unlike evaluate_rcc8, which
conflated them. Allocation-free.
One explicit finite-difference (FTCS) step of the heat/diffusion PDE ∂u/∂t = α·∂²u/∂x² over a
1-D grid: u_new[i] = u[i] + r·(u[i−1] − 2u[i] + u[i+1]), r = α·dt/dx². Dirichlet boundaries
(endpoints fixed). Writes into out. Numerically stable for r ≤ 0.5. Zero-heap.
Spatial-index broad-phase (BVH / R-tree): from the AABBs of many regions, return the
indices whose box overlaps query — pruning the candidates a precise RCC-8 test must then
check. Makes spatial queries scale to massive global entity maps. Zero-heap (caller out).