Manuscript Offprint
arXiv:2611.08119H-BRICK: Hierarchical Boundary Reachability Index with Compressed Kleene Closure for Directed Grid Graphs
Abstract
Repeated directed reachability queries arise in online path planning, task-agent allocation, and swarm control on static grid maps, where reachability is asymmetric and full transitive closure is storage-prohibitive. We introduce H-BRICK, a Hierarchical Boundary Reachability Index with Compressed Kleene closure for exact cell-to-cell queries on directed grid graphs. H-BRICK partitions the graph into tiles, computes a local Boolean Kleene closure within each tile, and projects it onto the tile's boundary ports. The resulting directed port-to-port summaries are then composed recursively across shared interfaces up to a single root covering the graph. We prove algebraically that the construction is exact: in the Boolean Kleene algebra of binary relations, every composed summary equals the boundary projection of the regional reflexive transitive closure, and every cell-to-cell query agrees with reachability in the original graph. Experiments on directed grid graphs across diverse map topologies compare H-BRICK against directed search and component-based baselines, and compare its storage requirements against full transitive closure. A batched reachability evaluation further demonstrates that sharing endpoint lifts across many-source/many-target queries amortizes hierarchical traversal and, at , yields a throughput improvement over the scalar query loop. The results show that hierarchical boundary compression is most advantageous in query-intensive spatial graphs where online search traverses large reachable regions and the hierarchy maintains compact boundary interfaces.
Keywords: Kleene closure; directed reachability; transitive closure; grid graphs; Boolean matrices; hierarchical graph algorithms; reachability indexing; path planning
MSC: 05C85; 05C20; 05C50; 05C40; 68R10
1. Introduction
A reachability query asks whether a target vertex is reachable from a source vertex, and it arises in robotic navigation [1,2], path planning [3,4], map analysis [5,6], program analysis [7,8], and graph database query processing [9,10]. In grid-like environments such as occupancy maps, discretized workspaces, and structured road or terrain models, it must be answered repeatedly for many source-target pairs, including path-planning and task-assignment settings on rasterized warehouse maps [11], such as candidate allocations in multi-agent pathfinding and swarm control [12–16]. This paper studies that setting in its directed form where each traversable cell is a vertex, and a directed edge is a feasible transition between neighboring cells. Directionality may arise from one-way passages, flow fields, terrain-dependent motion constraints, traffic rules, or asymmetric motion primitives. Reachability is therefore asymmetric: a path from to need not imply a path from to . Thus connected-component labeling settles the undirected case after a linear preprocess, but it does not suffice in this directed setting.
2 of 29
Classical solutions occupy a wide spectrum. Running a graph search such as breadth-first search (BFS) for each query requires almost no preprocessing but repeatedly explores overlapping parts of a static graph, whereas materializing the all-pairs reachability relation [17–19] yields constant-time lookup at a preprocessing and storage cost that becomes prohibitive once the closure grows dense. Between these extremes, strongly connected component (SCC) contraction [20] resolves queries on the condensation, a directed acyclic graph whose vertices are the mutually reachable classes. That reduction follows directed connectivity alone: an SCC may occupy an irregular region whose boundary has no planning meaning, whereas a path-planning map is usually organized into well-defined spatial tiles, often rectangular, whose sides are the natural interfaces between rooms, corridors, or map blocks. The index developed here is geometry-driven instead, and exposes only boundary reachability to higher hierarchy levels.
We formalize reachability through Boolean matrices and Kleene algebra [21–27], which H-BRICK applies locally by computing regional closures, projecting them onto compact boundary interfaces, and storing exact relations that cross-tile queries reuse.
Reachability indexing balances preprocessing time, index size, and query latency through precomputed intermediate relations [10,28]. Representative indexes include interval labeling [29,30], 2-hop labeling [31], GRAIL [32], Path-Tree [33], and O'Reach [9]. They target arbitrary large directed graphs, and they overlap with this paper on query type and workload which can be summarized as a single preprocess, then repeated Boolean path-existence queries between arbitrary vertices. Their auxiliary structure is a vertex labeling or hop cover of a general digraph whereas this work uses the spatial boundary that a path-planning grid map already supplies in the form of tile sides, doorways, and corridor mouths. Label-constrained and regular-path indexes [34–38] lie outside the Boolean fragment used here.
Closest in spirit is border-based indexing, which cuts a graph into components and indexes connectivity through their border nodes [30,39–42]. Those constructions cover cross-partition connections via 2-hop labeling, reachability backbones, or explicit border graphs. Related boundary abstractions appear in directed grid and layered-planar reachability algorithms [43–45], which replace subgrid paths with boundary edges to decide single queries within sublinear workspace. Similarly, planar dense distance graphs [46] maintain metric shortest-path matrices over recursive -divisions in the tropical semiring. Unlike space-bounded decision algorithms that recompute auxiliary edges on the fly, H-BRICK targets the persistent repeated-query indexing regime. Unlike metric or cost-bounded partition indexes [47,48], H-BRICK formalizes boundary reachability over the Boolean Kleene semiring (). It presents a complete recursive hierarchy of exact boundary relations, precomputes dedicated rectangular boundary attachments (, Eq. (5)) for arbitrary interior endpoints, and answers cell-to-cell queries via an ancestor scan (, Eq. (13)) that detects paths leaving and re-entering smaller regions without fallback graph traversal in the canonical full-depth configuration.
Four-neighbor directed grids, obstacles included, are planar digraphs, so they lie in the class already solved by compact planar reachability oracles [49,50]. Those oracles achieve near-linear preprocessing and space with constant-time queries via deep topological separator machinery; this work does not seek to improve their asymptotic worst-case bounds, but builds a cache-friendly, algebraically compositional index from local Kleene closures and grid boundaries, measuring the resulting empirical space-time tradeoff against tile granularity. Hierarchical pathfinding (e.g., HPA* [48,51]) and contraction hierarchies [4,52] similarly summarize spatial clusters by entrance distances to accelerate cost-driven search; in contrast, H-BRICK materializes exact Boolean boundary reachability for repeated path-existence testing where optimistic approximations are unacceptable.
Sparse Boolean linear algebra provides the computational substrate: GraphBLAS expresses graph algorithms over semirings [53], and high-performance bit-parallel kernels accelerate matrix multiplication and closure [54,55]. These kernels supply primitive execution engines rather than index structures; our contribution lies in determining which boundary relations are materialized and how they compose.
3 of 29
We introduce H-BRICK, a Hierarchical Boundary Reachability Index with Compressed Kleene closure, which establishes a persistent rooted hierarchy for exact cell-to-cell reachability. Each tile is closed locally and projected onto its boundary ports, and child summaries are composed recursively across shared interfaces up to a single root covering the graph, deciding arbitrary queries without materializing the complete closure.
The contributions are as follows. (i) We formulate boundary-projected Boolean Kleene closure as a compositional framework and construct H-BRICK, a persistent rooted spatial hierarchy for exact cell-to-cell reachability on directed grid graphs. (ii) We prove algebraically that every composed boundary summary equals the boundary projection of the regional reflexive transitive closure, so every cell-to-cell query agrees with reachability in the original graph. (iii) We evaluate H-BRICK against directed search, SCC condensation, and labeling baselines across diverse topologies and directional flow regimes. Across 48 matched instances, its geometric-mean speedup over BFS is . On the largest map, bit-packed dense transitive closure requires about the H-BRICK index storage at the selected operating point, while at the observed per-map max-to-min mean-query-latency ratios across orientation regimes range from to . (iv) We develop and evaluate a batched many-source/many-target reachability algorithm that amortizes hierarchical traversals, achieving, at , a throughput improvement over scalar query loops for multi-agent workloads.
2.1. Directed Grid-Like Graphs and Reachability
Let be a static directed graph obtained from a grid map, such as the occupancy grid of an office or a warehouse or a discretized terrain, and write and . Each vertex is a traversable cell, and each directed edge is a feasible transition from to a physically adjacent cell . The edge relation need not be symmetric, so does not imply . A reachability query asks whether a directed path exists from a source to a target , returning a Boolean value indicating path existence without requiring path reconstruction or length optimization. Zero-length paths are admitted, so for every vertex .
2.2. Boolean Closure
Reachability is expressed over the Boolean semiring , where is the Boolean domain, addition is logical disjunction (with additive zero 0), multiplication is logical conjunction (with multiplicative identity 1), and multiplication distributes over addition. Boolean matrix addition is entrywise, while Boolean matrix multiplication is defined by .
Let be the Boolean adjacency matrix of , where if and only if . Boolean powers encode directed walks of fixed length: if and only if there exists a directed walk of exactly edges from to . The Boolean Kleene closure of is
where denotes the product of copies of under Boolean matrix multiplication, and is the Boolean identity matrix with and for . For notational simplicity, where no ambiguity arises, we subsequently write interchangeably for the Boolean power . The sum truncates at because every simple directed path in contains at most edges. Boolean matrices over , equipped with entrywise , Boolean matrix multiplication , and Kleene closure, form the Kleene algebra of binary relations on , where denotes relational union, denotes relational composition, and denotes reflexive transitive closure [56,57]. Consequently, if and only if there exists a directed path of length from to , making the reflexive transitive closure of in matrix form.
4 of 29
It is also significant that because is idempotent,
so for , which repeated squaring of reaches in Boolean matrix multiplications.
2.3. Spatial Tiles and Boundary Ports
In the two-dimensional grid, a tile is a rectangular block of cells. Let be the vertices of , and write . The induced subgraph is with , whose Boolean adjacency matrix is .
Formally, the boundary port set consists of all passable cells of incident to an edge crossing between and the remainder of the graph:
ordered canonically with . Each such boundary cell acts as an interface port (or simply port) mediating inter-tile transitions in the global reachability graph. The exposed summary is the Boolean relation on with exactly when is reachable from by a directed path contained in . On the four-neighbor rectangular grids considered here, any vertex incident to an external edge necessarily lies on the perimeter of . Defining via (2) automatically admits both incoming-only and outgoing-only ports while pruning inactive perimeter cells, minimizing (with at the root region covering ).
2.4. Problem Formulation and Method Overview
The query workload on is an arbitrary sequence of pairs , each evaluated for . A rooted spatial decomposition is valid if its leaves partition , every internal node is the union of its children, boundary-crossing edges are incident to declared ports, and the root covers .
Problem 1 (Repeated Directed Reachability Indexing). Given a static directed grid-like graph and a valid rooted spatial decomposition , construct an index satisfying
In this paper, is realized by H-BRICK. Each base tile is closed locally, storing attachments that record reachability from tile vertices to boundary ports and from boundary ports to tile vertices, and exposing only the induced reachability relation over those ports. At each higher level, child summaries and directed seam transitions form a reduced interface graph. Each parent retains the closure over the interface ports of its children for query processing and exposes the restriction of that closure to its own external ports for composition at the next level. Composition continues recursively to a unique root covering G, where no external boundary remains. The formulation accommodates arbitrary tile dimensions and recursive grouping factors.
Queries read stored relations without recomputing closures. When source s and target t occupy the same base tile, the local closure is inspected directly. Otherwise, source-to-port and port-to-target attachments are combined with stored interface closures across common ancestors, which is necessary because directed paths may exit a smaller region and re-enter it through external seams. Table 1 summarizes the notation used in Sections 2–4, and Figure 1 diagrams the matrix pipeline from a base tile through parent composition.
5 of 29
Table 1. Core notation. All matrices and vectors are Boolean; dimensions are rows × columns. Adjacency and reachability matrices use the row-source, column-target convention.
| Symbol | Size | Brief description |
|---|---|---|
| — | Boolean domain {0, 1}. | |
| — | Scalar OR and AND; matrix entrywise OR and Boolean multiplication. | |
| — | Boolean semiring (). | |
| — | Reflexive transitive closure of a Boolean square matrix. | |
| — | Directed cell graph; . | |
| Adjacency matrix of and its closure (Eq. (1)). | ||
| — | Tile, its traversable vertices, and . | |
| — | Rooted hierarchy of tiles; root covers . | |
| — | Parent tile with children . | |
| — | Vertices of incident to crossing edges; (Eq. (2)). | |
| Adjacency of subgraph induced by , and its closure (Eq. (1)). | ||
| Selects boundary ports from vertex ordering (Section 3). | ||
| Exposed summary: reachability between ports inside (Eq. (4)). | ||
| Vertex-to-port reachability inside base tile (Eq. (5)). | ||
| Port-to-vertex reachability inside base tile (Eq. (5)). | ||
| — | Ordered union of child port sets . | |
| Selects child-interface ports from (Eq. (9)). | ||
| Embeds child ports into ordering (Eq. (6)). | ||
| Adjacency of directed edges crossing between children of (Eq. (6)). | ||
| Reduced interface adjacency combining summaries and seams (Eq. (6)). | ||
| Reachability inside among child-interface ports (Eq. (9)). | ||
| Selects external parent ports from (Eq. (7)). | ||
| — | H-BRICK reachability index for and its tile hierarchy. | |
| — | Query source and target, and their respective base tiles. | |
| — | Ancestor in one-step frontier propagation; common ancestor in . | |
| — | Child of containing , respectively . | |
| Source-to-port and port-to-target reachability inside (Eq. (11)). | ||
| Scalar | Boolean connection test through interface of common ancestor (Eq. (13)). |
3. Boundary-Compressed Kleene Closure
This section defines the boundary-projected closure and attachment relations of a base tile; Section 4 extends the construction recursively. Fix a local vertex ordering of and a deterministic ordering of the distinct ports in . Define the boundary selector by exactly when the -th boundary port is the -th local vertex. This admits arbitrary local vertex orderings, with inter-tile mappings determined by vertex identities.
For a base tile , its local closure is computed according to (1) via the bit-parallel closure engine (Section 5), and projected onto its boundary ports :
Lemma 1 (Local boundary summary correctness). Let be a base tile with local adjacency matrix , boundary selector , and summary given by (4). For boundary ports , if and only if is reachable from by a directed path contained entirely in .
Proof. Because is the reachability relation on , left and right multiplication by restricts its coordinates to , yielding exactly the boundary reachability relation.
Because query endpoints may lie strictly in the interior of a base tile, each base tile also stores the attachment relations
6 of 29
(a) Base tile T: local closure and boundary extraction

(b) Parent region U: reduced interface closure and exposed summary

Figure 1. Structural matrix roles at a base tile and at a parent. (a) Base tile T: boundary selector extracts query attachments and summary from local closure . (b) Parent region U: oblivious to child interiors , U combines child summaries and seam edges into interface closure , extracting summary via to pass upward. The selector selects from strictly as an expository proof construct (Theorem 1) and is never materialized or executed.
Lemma 2 (Attachment correctness). For a base tile T with the attachment relations of (5), if and only if boundary port p is reachable from local vertex s inside T, and if and only if local vertex t is reachable from boundary port q inside T.
Proof. Under the row-source/column-target convention, right multiplication by selects boundary target columns and left multiplication by selects boundary source rows, giving vertex-to-port and port-to-vertex reachability, respectively. In directed graphs, these relations are not transposes of one another.
The implementation retains the full local closure for direct same-tile queries, while materializing the boundary summary for hierarchical composition and the attachment relations and for cross-tile query evaluation (Figure 1a).
4. H-BRICK Hierarchical Composition and Exact Querying
This section composes base-tile summaries into super-tile summaries , builds a rooted spatial hierarchy covering V, and answers arbitrary cell-to-cell queries.
4.1. Parent Interface Space
Let be a super-tile formed from the child tiles , each of which exposes its boundary ports and its already-computed summary . Let denote the ordered set of all boundary ports of the child tiles (which may each be a base tile or another super-tile) participating in the composition of , and write . Since the children are vertex-disjoint, every child port enters under its own identity, and adjacency between two children is carried by seam edges. For each child, a Boolean embedding matrix maps the local port ordering of into , and the embedded contribution of that child to the reduced interface graph is . Here, the interface graph is termed “reduced” because it completely abstracts away all interior cells of
7 of 29
the child regions, retaining only the child boundary ports as its active vertices. The seam adjacency records one-step directed edges of crossing between ports of distinct children, while remaining 0 on every same-child pair (Figure 2).
4.2. Composition
The reduced interface adjacency matrix, , of collects the embedded child summaries together with the seam edges of the interface relation, as drawn for four children in Figure 2:
Because the graph is directed, is not symmetric unless both directions already exist in . Same-child-port reachability enters through , whereas one-step transitions between distinct children enter through . An edge of is therefore either a child-internal connection or a one-step inter-child seam edge. Closing each child does not close that union since a path may, one or multiple times, leave one child, cross a seam, and enter another, which is why the parent computes .
4.3. Parent Closure and Boundary Projection
Closing the reduced interface graph gives , which records reachability among all of , including the external ports , using only child summaries and seam edges. Write . The set consists of seam-only child ports, shown as light cells in Figure 2, while a seam endpoint on the outer perimeter remains in only if it is incident to an edge entering or leaving . After that closure, selects from , and the exposed summary is the same projection used at the base level,
after which is treated as an ordinary tile one level higher. The construction is designed to preserve the level invariant
where is the full Boolean adjacency matrix of the subgraph covered by (with ), is its reflexive transitive closure, and is the Boolean selector extracting the external boundary ports from the full vertex set of that subgraph. The matrix is indexed by every vertex of and is not computed; H-BRICK obtains the same boundary relation through (Figure 1b).
Theorem 1 (Interface-closure exactness). Let be a super-tile formed from children whose summaries are exact, let be the full adjacency matrix of the subgraph induced by , let select the interface ports from the full vertex ordering of that subgraph, and let be the reduced interface adjacency matrix (6). Then the interface closure computed from the reduced interface graph equals the interface projection of the full closure:
Proof. Both sides of (9), and , are indexed by . For any interface ports we show two directions: a directed path from to in the subgraph of gives , and a directed path from to in the reduced interface graph gives .
8 of 29
Super-tile : interface from child summaries and seams

Figure 2. Parent interface of a super-tile formed by children . Child summaries are embedded into interface via , and combined with directed seam transitions (gold arrows) according to (6). Solid perimeter cells denote external ports , while light cells denote internal seam-only ports in .
Suppose first that is reachable from by a directed path in the subgraph covered by . A seam crossing is a directed edge of whose ends lie in two different children. Let's cut the path at every seam crossing. Then the resulting path alternates intra-child pieces with seams,
Each intra-child piece lies entirely in one child , with both endpoints in . Every nonfinal piece is followed by a seam edge leaving that child. Exactness of records that piece of the path as a single entry of , not as a chain of cell hops, and places the entry into . Each seam between two intra-child pieces is an entry of . The original path therefore gives a directed walk from to in the reduced interface graph, so .
Conversely, consider a directed path in the reduced interface graph. Each of its edges is either an interface relation from , which corresponds to an actual directed transition of the full graph model of , or an embedded child-summary edge , which by exactness of corresponds to an actual directed path inside . Replacing every reduced edge by its corresponding inter-child seam edge or child-internal path yields a directed walk from to in the full subgraph induced by , hence a directed path, which is . The two implications give (9). Figure 2 illustrates parts of the proof.
Corollary 1 (Exposed boundary summary). Under the hypotheses of Theorem 1, the exposed summary (7) satisfies the level invariant (8), that is, , where selects the external boundary ports of from the full vertex ordering.
Proof. The external ports satisfy , and selecting them from the full vertex ordering factors as . Multiplying (9) by on the left and by on the right therefore gives .
4.4. Hierarchy Construction
H-BRICK is a rooted spatial hierarchy covering . Let be a tree whose leaves are the base tiles of . Every internal node (a non-leaf of ) is the union of its children and stores the interface together with ; the root is the unique node whose region is the entire vertex set . Under (2),
9 of 29
Algorithm 1: Super-Tile Summary Construction
Input: Parent tile , child summaries , child port sets , seams , external ports
Output: Interface closure ; if , also the exposed summary
1 Construct the common ordered interface port set
2 for each child tile do
3 Construct the embedding matrix
4 Embed the child summary as
5 Construct
6 Compute
7 if then
8 return
9 Construct the external-boundary selection matrix
10 Compute
11 return
because covers , so the index does not expose an external root summary ; cell-to-cell queries use the reduced interface closure . Every non-root tile has exactly one parent.
Construction is bottom-up: equations (4)–(5) compute every leaf summary, then Algorithm 1 is applied to every internal node. A nonroot parent stores the projection of (7); the root retains and returns only , obtained by closing (6) at . If consists of a single base tile, it is the root and no composition is invoked. The depth of is determined by the base-tile granularity and by the aggregation rule.
Theorem 2 (Hierarchical exactness). Theorem 1 and Corollary 1 extend from one parent to every node of : every nonroot tile stores an exposed summary satisfying the level invariant (8), and every internal node , including the root, stores an interface closure satisfying (9).
Proof. We prove the two identities by induction on the nodes of , starting at the leaves and treating a parent only after all of its children are known. At a leaf, the exposed-summary identity is Lemma 1, and (9) is vacuous, because a leaf has no child-port interface. Assume that every child of an internal node has an exact exposed summary. Theorem 1 then gives (9) for . If is not the root, Corollary 1 gives (8) for . By induction every nonroot tile stores an exact exposed summary, and every internal node, including the root, stores an exact interface closure.
Nothing in (6)–(7) refers to tile shape: the operations depend only on the vertex set of a region, its exposed ports, and its seam relations. Square and rectangular tiles are convenient for grid maps because they follow the grid geometry and admit simple side-based port orderings; the implementation evaluated below uses them throughout.
4.5. Exact Cell-to-Cell Query
The external query model is ordinary reachability between arbitrary vertices, so the source and the target need not be boundary ports. Let and be the leaf tiles containing and , respectively. If , the query is first tested locally through . A positive local test answers the query. A negative local test is inconclusive, because a valid path may leave the tile and re-enter it through a larger ancestor. If the hierarchy is a single base tile, that tile is the root, there are no internal ancestors, and the local closure is the whole answer.
10 of 29

Figure 3. Hierarchical query vector lifting. In Step 1, source reaches base-tile boundary ports . In Step 2, active ports (red dots) are embedded into and lifted across interface closure to super-tile boundary . Lifting ascends along ancestor chains to root children and . At the root (right panel), the left factor selects interface port reached from , the right factor selects port reaching , and certifies path across ().
A query reads one source row of and one target column of from the attachment relations (5). Those extracted vectors are written and ,
so marks that boundary port is reachable from inside (Figure 3, Step 1), and marks that boundary port reaches inside . Since a super-tile does not keep an attachment from an interior cell to its ports, the same row and column are propagated up each ancestor chain. For any non-root ancestor region through which the frontier is propagated, let denote the unique child of containing ; define analogously on the target side. A one-level propagation through is then
Equations (11)–(12) define the corresponding source and target three-step lifting pipelines: each embeds child ports into , expands them across , and projects onto the external ports of via (Figure 3, Step 2).
As hierarchical lifting ascends along both ancestor chains, the source and target frontiers eventually reach a common internal ancestor U of and . At this shared ancestor, the propagated source row and target column meet directly in the Boolean scalar
and means that there are interface ports such that reaches through the source-side descendants, reaches inside , and reaches through the target-side descendants. The ancestor test evaluates reachability over the full interface rather than projecting via , because a connecting path inside may traverse internal seams without ever touching the external boundary ; furthermore, at the root tile, the external boundary is entirely empty, .
11 of 29
A single common ancestor is not enough, since a directed path may leave a lower common ancestor and return through a larger enclosing region, as illustrated by the external detour in Figure 4 (Scenario 2). Conversely, evaluating connection tests sequentially along the common ancestor sequence starting from the lowest common ancestor is essential: an internal path certified at the lowest common ancestor may fail to survive boundary projection to higher levels (Figure 4, Scenario 3; Remark 1), whereas Scenario 1 illustrates a case in which the certificate remains valid at the root after projection (Figure 4, Scenario 1). If , a connecting path is certified inside and the query terminates immediately with reachability established (early termination). Conversely, if , the absence of a path inside does not preclude an external detour through higher levels; lifting therefore continues along the common ancestor sequence using (11)–(12) until an ancestor test (13) succeeds or the sequence is exhausted.
Write for the unique parent chain of , and likewise for . Then is the sequence of internal common ancestors ordered from the lowest common ancestor up to . No member of is a leaf, as (13) operates on internal interface closures. When , a negative local test starts the common ancestor scan at the parent of the shared base tile. Exhausting without a positive test is conclusive, requiring no fallback search. Algorithm 2 states the resulting query, combining base extraction and hierarchical lifting (Figure 3) with the sequence of ancestor tests.
Lemma 3 (Exactness of external-frontier propagation). Let be a region on the source ancestor chain whose parent is non-root. Suppose that for every boundary port , if and only if is reachable from by a directed path contained entirely in . Then the update (11) produces, for every boundary port ,
Symmetrically, if lies on the target ancestor chain with non-root parent , and for every boundary port , if and only if is reachable from by a directed path contained entirely in , then the update (12) produces, for every boundary port ,
Thus, if the frontier is exact on the external boundary of , the updates (11)–(12) produce an exact frontier on the external boundary of .
Proof. We prove the source-side equivalence (14); the target-side equivalence (15) follows symmetrically on the reversed graph. Fix . We prove the two implications separately.
Forward implication. Suppose first that . Expanding (11) entrywise, there must exist some such that and (\widehat{A}_W^\star)_{\iota_C(a)}_p = 1, where is the unique interface index with . By the hypothesis of the lemma, means that there exists a directed path from to contained entirely in . By Theorem 1, the second relation means that there exists a directed path from to contained in . Concatenating these two paths gives a directed walk from to contained in , and hence is reachable from within .
Reverse implication. Now suppose that is reachable from by a directed path contained entirely in . To show that , it is sufficient, by (11), to identify a boundary port such that and (\widehat{A}_W^\star)_{\iota_C(a)}_p = 1. Choose as the last vertex of the maximal prefix of that remains inside . There are two cases. If never leaves , then . Since , by (2) the port is incident to an edge whose other end lies outside ; because , that end also lies outside . Hence , and we take . Otherwise, the edge immediately following leaves , so by (2). In either case, the prefix of from to lies entirely in . Hence, by the hypothesis, . The remaining suffix of from to lies entirely in . Since and , Theorem 1
12 of 29
Hierarchical Query Resolution: Three Canonical Scenarios

Figure 4. Hierarchical query resolution on three canonical topologies (). The source lies in base tile and the target in . The query follows upward from the lowest common ancestor , along and . Root values for Scenarios 1 and 3 are shown counterfactually to illustrate the outcome if propagation continued beyond the positive test. (Sce. 1) Internal seams certify reachability immediately at (, early exit), and the certificate survives projection to the root (). (Sce. 2) The internal seam at is blocked (); ascent along to finds an external detour through (). (Sce. 3) The connection certificate at () is lost under external-boundary projection when lifting toward the root (); early exit at the LCA prevents a false negative.
implies from this suffix that , with the case covered by reflexivity. Therefore the Boolean product in (11) contains a witness for which both factors are 1, and thus . This establishes (14). Repeated application along and , initialized at the base tiles by Lemma 2, therefore maintains this frontier-exactness invariant at every propagated level.
Remark 1 (Non-monotonicity of ancestor connection tests). Lemma 3 characterizes only the reachability information exposed on the external boundary of the current region; it does not imply that is monotone under ancestor inclusion. As illustrated by Scenario 3 in Figure 4, a connection certified at may rely on interface ports in without inducing compatible source-to- and -to-target frontiers. Such interface-only information is intentionally discarded by the external-boundary projection during lifting; hence in general, for a strict ancestor . Consequently, Algorithm 2 must evaluate at each common ancestor before propagating frontiers upward, and terminate immediately once .
Theorem 3 (Query exactness). For any vertices , Algorithm 2 returns true if and only if is reachable from in .
Proof. Suppose first that the procedure returns true. If and share a base tile and the local test succeeds, then by definition of the local closure a directed path from to lies inside that tile, so is reachable from in . Otherwise the procedure returns true at a common internal ancestor with . By (13) there are interface ports such that is reachable from through the source-side descendants, reaches through the target-side descendants, and is reachable from inside ; the first two statements follow from Lemma 2 at the base level together with repeated application of Lemma 3, while the third follows from Theorem 1 applied to . Concatenating the three directed paths gives a directed walk from to in , hence a directed path, so every positive answer is sound.
Conversely, suppose is reachable from , with base tiles and , and fix a directed path from to . If lies entirely inside , the local test succeeds and the procedure returns true (including a one-tile hierarchy). Otherwise, let be the lowest node of containing every vertex of . Then is an internal common ancestor of and , hence a member of . By minimality of , the fixed witness path is not contained in any strict lower common ancestor . If the scan nevertheless
13 of 29
Algorithm 2: Exact Cell-to-Cell Reachability Query
Input: Source , target , rooted H-BRICK index
Output: True if and only if is reachable from
1 Locate base tiles and
2 if and then
3 return true
4 if then
5 return false
6 Initialize from row of
7 Initialize from column of
8 Let be the common internal ancestors, lowest first, ending at the root
9 Let be the first member of
10 Propagate from to and from to using (11)–(12)
11 for each do
12
15
17 return false
finds , Algorithm 2 terminates early and correctly, possibly certifying a different -to- path. Otherwise, the fixed path leaves and later re-enters it. The base attachments of Lemma 2 together with repeated application of Lemma 3 yield the exact external frontiers needed to continue the scan toward . When the scan reaches , vertices and belong to unique children and of . By minimality, cannot lie entirely inside a single child of . Hence leaves and eventually enters ; if , it necessarily leaves and later re-enters that child. Cutting after its maximal prefix inside and before its maximal suffix inside produces ports and such that directed paths from to and from to lie entirely in and respectively, and a directed path from to lies in . By Lemma 2 at the base level and Lemma 3 under any subsequent propagation, and , while Theorem 1 gives the corresponding entry of , so by (13) and the procedure returns true.
5. Complexity Analysis
This section analyzes storage, preprocessing, and query cost for the rooted index of Section 4. Let denote the complexity of computing the reflexive transitive closure of a Boolean relation, and let denote the cost of the adaptive bit-parallel closure implementation deployed in the benchmark. The adaptive implementation chooses among the two alternatives based on relation dimension against a dimension threshold : relations of dimension are closed by a word-parallel Warshall kernel [17] requiring bitwise operations with machine word length ; relations of dimension are evaluated by bit-parallel repeated squaring (1) using the Method of Four Russians (M4RM) Boolean matrix multiplication [58–60]. Each M4RM product costs bitwise operations [59,60] where is the block width and is the machine word length. By (1), repeated squaring of reaches the reflexive transitive closure in at most matrix multiplications (Section 2). Because both and are fixed implementation constants, the conservative worst-case bound of the adaptive realization is
14 of 29
Table 2. Asymptotic preprocessing, persistent index storage, and query complexity on bounded-degree grid graphs. We assume , , and fixed H-BRICK parameters and ; and denote the number of SCCs and condensation edges, respectively. TC denotes transitive closure.
| Method | Preprocess | Index storage | Query |
|---|---|---|---|
| BFS | — | ||
| SCC-DAG search | |||
| SCC-DAG closure | |||
| GRAIL [32] | to | ||
| O'Reach [9] | to | ||
| All-hub 2-hop [31] | |||
| TC Warshall | |||
| TC repeated squaring | |||
| H-BRICK (fixed ) |
For GRAIL and O'Reach, the two query bounds denote index-only resolution and worst-case search fallback, respectively.
5.1. Storage and Boundary Compression
A base tile stores the local closure required by same-tile queries, its boundary summary, and its two attachment relations, which in dense form occupy , , and entries each, so by . A super-tile stores the interface closure , of dimension , and, if it is not the root, the exposed summary , of dimension , so . The total dense index storage is therefore
Corollary 2 (Regular grid decomposition with uniform aggregation). Let the map occupy a square area of cells, of which are passable, and decompose it into base tiles of side . Let every super-tile group adjacent children for a uniform integer , and for simplicity suppose , so the hierarchy reaches its root after super-levels. Then , , and , so the level-0 terms of (17) satisfy
whereas a dense materialization of the full transitive closure requires Boolean entries. The complete index satisfies
Proof. Multiply the per-tile bounds , , and by the tile count . At super-level , a region has side length , and there are such regions. Each parent contains children of side , so its interface and external boundary satisfy and , respectively. The storage at super-level is therefore
Summing over the super-levels and adding the level-0 terms gives (19).
Partial edge groups and bounded-aspect-ratio rectangular maps satisfy the same upper bounds up to constants. For fixed , (19) reduces to ; the factor shows that wider
15 of 29
aggregation shortens the hierarchy but enlarges intermediate interfaces. Larger base tiles raise and base storage but reduce interface ports carried upward. As a theoretical baseline for comparison, a flat single-level decomposition has interface ports (generally ) and requires dense closure storage. On that boundary graph, a conventional cubic closure kernel such as Warshall's algorithm [17] (cf. Table 2) requires scalar work, whereas repeated squaring under dense Boolean multiplication requires , both of which H-BRICK's recursive hierarchy avoids. The cell count rather than governs these sums because tiles are spatial regions.
5.2. Preprocessing Complexity
For a base tile the dominant cost is forming the local closure via the adaptive closure engine, with cost ; additionally, extracting the summary and the two attachment relations from that closure costs at most in dense form. For a super-tile the dominant cost is forming via the adaptive closure engine on the interface, with cost . Assembling the interface from child summaries and one-step seam edges costs to write the matrix with and to place each embedding . If , extracting the exposed boundary submatrix via the 0–1 selection matrix costs . Collecting the levels,
where is the lower-order cost of forming embedded interface graphs and applying boundary projections.
Using the conservative worst-case bound of the adaptive closure engine and the regular decomposition of Corollary 2, the base level costs . At super-level , multiplying the regions by the closure cost for gives . Summing these costs across all super-levels gives
Since and for all , the summation satisfies , yielding the total super-level preprocessing cost . Writing and projecting the interface matrices adds , which is lower order, hence
which simplifies to for fixed b, g.
5.3. Query Complexity
A worst-case query lifts along both ancestor chains and and tests every common internal ancestor in . Let and denote the intermediate regions executing upward frontier propagation (11)–(12). Base boundary extraction costs , while dense frontier propagation across or an ancestor test across costs or , so
16 of 29
In the regular hierarchy, each chain contains at most one region per super-level, so gives
For fixed , this remains , so H-BRICK does not offer an asymptotic query-time improvement over BFS in the worst case. However, because Algorithm 2 terminates immediately at the lowest ancestor certifying reachability, a query settling at ancestor of area incurs only ( for fixed ). Under the w-bit word-RAM model, dense frontier propagation and ancestor tests require bitwise word operations, scaling worst-case queries to word operations; Table 2 summarizes these asymptotic bounds alongside baseline reachability methods on grid graphs.
6. Implementation Optimizations
The construction of Sections 3–4 admits several implementation optimizations that reduce preprocessing and query cost without changing the stored reachability relations or their exactness guarantees. This section summarizes the closure backend, the skip-lift realization, and the batched query algorithm used in the experiments. The canonical reference (HBrick) provides the baseline by directly evaluating queries through the level-by-level recurrence (11) and ancestor tests (13) over elementary parent–child interface summaries.
6.1. Adaptive Bit-Parallel Closure Backend
Closure computation is the main preprocessing operation at both base tiles and super-tile interfaces. Rather than using a single closure kernel for all matrix sizes, the implementation selects between two bit-parallel methods according to relation dimension. For ( in our implementation), closure is computed using a packed Warshall kernel. Larger relations are evaluated by repeated squaring with M4RM Boolean matrix multiplication, which groups several Boolean row combinations into table lookups. Both kernels compute the same reflexive transitive closure and therefore do not alter the algebraic construction of Sections 3–4.
6.2. Direct Multi-Level Skip Lifts (HBrickSkipLift)
The canonical HBrick realization evaluates cross-tile queries by extracting base-tile frontiers and , ascending the hierarchy step by step through recurrence (11), and testing common ancestors via (13). To eliminate runtime pointer indirection and intermediate vector-matrix products during upward traversal, HBrickSkipLift precomputes composite boundary-to-boundary skip-lift operators during index construction.
For each parent–child tree edge with non-root parent and child , the elementary single-step forward lift operator fusing child embedding, interface closure multiplication, and exterior boundary projection is:
the reverse lift is defined analogously. For a base tile and any proper non-root ancestor along the ascending ancestor chain , HBrickSkipLift precomputes and stores the composite boundary-to-boundary forward skip-lift matrix:
and symmetrically the composite backward skip-lift matrix , adopting the identity convention and .
17 of 29
During query execution, the base frontier is obtained by direct row lookup and propagated to any requested ancestor in a single bit-parallel vector-matrix application:
Symmetrically, the backward frontier is with . At each common ancestor , arriving frontiers are embedded into via and , and the reachability meet is evaluated across as in (13). By associativity of Boolean matrix multiplication, (27) produces exactly the same frontier as sequential application of (11); the backward direction is analogous. Hence HBrickSkipLift changes only the evaluation schedule, not the reachability result. The precomputed operators enlarge the index beyond the bound of Corollary 2: under the assumptions of that corollary they occupy bits in total, which is for fixed and and thus asymptotically dominates the base index. The measured storage-latency trade-off is reported in Section 7.
6.3. Batched Many-Source/Many-Target Queries
In multi-agent task allocation, fleet coordination, and frontier exploration, reachability queries frequently arrive in batches over common vertex sets. Given a source set and a destination set , the batched query evaluates the full Boolean reachability matrix with . Rather than evaluating independent scalar queries through the hierarchy, the batched query algorithm amortizes hierarchical traversal by sharing intermediate boundary lifts and interface reachability frontiers across eligible query pairs.
For pairs residing in the same base tile , a positive local closure entry resolves reachability immediately; a negative local entry is conclusive only when that base tile is the root . The ancestor chains of the endpoints determine the first hierarchy level at which each source-destination pair shares a common ancestor; the pair is not tested below that level. The batched query is then evaluated bottom-up, one hierarchy level at a time. At a fixed level, each endpoint belongs to one ancestor node on its chain, and computations are shared among pairs whose chains coincide at the same . At each level: (1) each source with a valid frontier is lifted to the required child boundary of , using the precomputed skip lift of Section 6.2 when needed, and its source-side interface reachability frontier is computed once; (2) each destination frontier is similarly lifted and embedded into as once; and (3) every unresolved pair eligible at is tested by:
In the packed-bit implementation, this scalar Boolean product is evaluated as a nonempty bitwise intersection between the source-side interface frontier and the embedded destination frontier. A positive test resolves the corresponding pair immediately, whereas a negative test remains inconclusive and the pair is retained for evaluation at higher common ancestors up to the root. The prepared destination frontier is reused across all unresolved sources tested against that destination at the same ancestor , and the source-side frontier is reused symmetrically across eligible destinations. By associativity of Boolean matrix multiplication, (28) is a reassociation of the ancestor test of (13), with the interface closure applied on the source side once and shared across eligible destinations. Pairs failing this test across all shared ancestors are resolved as unreachable.
Proposition 1 (Batch-query exactness). For every finite source set and destination set , the batched procedure of Section 6.3 returns a matrix with for every and every .
18 of 29
Proof. Same-tile pairs use the same local closure test as Algorithm 2. For every remaining pair , the batched procedure evaluates the same common-ancestor tests as Algorithm 2, differing only by sharing endpoint lifts and source-side frontiers across eligible pairs at each ancestor node. By associativity of Boolean matrix multiplication, the meet test (28) is identical to the scalar ancestor certificate of (13). Every batched decision therefore coincides with the scalar query pair by pair, and exactness follows from Theorem 3.
7. Computational Evaluation and Results
This section evaluates the computational performance of the boundary-compressed Kleene hierarchy against representative reachability baselines: unindexed breadth-first search (BFS), strongly connected component (SCC) condensation followed by search on the condensation DAG (SCC-DAG) [20], and the interval-labeling indexes GRAIL [32] and O'Reach [9]. Exact 2-hop labeling [31] is also a competitive exact index. However, it completed only on 11 of the 48 instances and was skipped by the memory policy on the other 37, so Table 11 reports its coverage rather than aggregate latencies, and it is otherwise compared through the asymptotic bounds of Table 2. We quantify index memory footprint, single-pair query latency across directional flow regimes, and batched evaluation throughput. All comparisons in this section use the same 48 instances and the same query pairs.
7.1. Datasets and Measurement Protocol
The benchmark suite comprises eight public 2D occupancy grids from the Moving AI repository [61], spanning city street networks, game arenas, mazes, room layouts, and random obstacle fields (Table 3). While these grid graphs are natively undirected 4-neighbor planar lattices, directed instances are constructed under two complementary orientation models: (1) random asymmetric (V01–V05), where adjacent passable cells are connected bidirectionally with probability and unidirectionally with probability , inducing a directed percolation phase transition; and (2) gradient flow (V06), where edges are directed at a flow angle of with a backflow probability ().
Let denote the set of passable grid vertices with . We formally define reachability density as
To systematically evaluate performance across connectivity levels, each benchmark map is calibrated so that follows a geometrically spaced progression from in regime V01 down to in regime V05. Because obstacle topology and doorway bottlenecks vary significantly across layouts, a uniform yields vastly disparate reachability; is therefore calibrated per map via binary search over until empirical reachability matches target density (29) (Table 4), yielding 48 calibrated benchmark instances (8 maps 6 regimes). represents an exceptional topological regime: because it is an acyclic unit-width corridor maze lacking lattice cycles, random edge orientation fragments the underlying tree into isolated directed paths rather than forming a percolation giant component; its calibration is therefore uniquely governed by strongly connected component partitioning following .
All algorithms are implemented in C++20 and compiled with GCC 15.2 at -03 -march=native on five identical x86_64 Linux instances with 4 GB of RAM each. To eliminate timer overhead and clock jitter at sub-microsecond scales, queries are timed in 128-query chunks via std::chrono::steady_clock over 8,192 query pairs following 128 unmeasured warm-up queries. Unless otherwise stated, H-BRICK is configured with HBrickSkipLift at .
7.2. Hierarchy and Parameter Trade-offs
The construction exposes two numerical knobs: the base-tile side and the aggregation factor . Table 5 reports HBrickSkipLift preprocessing time, query latency, and index memory for the complete factorial sweep on every benchmark map, and Table 6
19 of 29
Table 3. Evaluation maps from the Moving AI repository [61], native dimensions, passable vertex count , geometric edge count , obstacle fraction, bidirectional range , and the storage required by a dense bit-packed full transitive closure ( bytes).

| Map | Name | Structural Domain | Dimensions | N | Obst. | range | TC (GiB) | ||
|---|---|---|---|---|---|---|---|---|---|
| maze512-1-0 | 1-corridor maze | 131,071 | 131,070 | 1.00 | 50.0% | [0.20, 1.00] | 2.000 | ||
| maze512-32-0 | 32-corridor maze | 253,840 | 499,377 | 1.97 | 3.2% | [0.06, 0.31] | 7.501 | ||
| 8room_000 | 8-room building layout | 206,642 | 356,006 | 1.72 | 21.2% | [0.57, 0.85] | 4.971 | ||
| random512-20-0 | 20% random obstacles | 209,281 | 334,908 | 1.60 | 20.2% | [0.32, 0.61] | 5.099 | ||
| arena2 | Game arena (Dragon Age) | 24,311 | 47,085 | 1.94 | 58.6% | [0.04, 0.53] | 0.069 | ||
| Boston_0_256 | Small street network | 47,768 | 90,649 | 1.90 | 27.1% | [0.05, 0.43] | 0.266 | ||
| Boston_0_512 | Medium street network | 196,725 | 383,664 | 1.95 | 25.0% | [0.04, 0.33] | 4.505 | ||
| Boston_0_1024 | Large city network | 796,896 | 1,574,247 | 1.98 | 24.0% | [0.02, 0.35] | 73.929 |
presents the same measurements aggregated by orientation regime. Map entries are medians over the six regimes of the per-regime measurement, regime entries are medians over the eight maps, and query entries are built from the per-regime mean latencies.
Throughout this subsection, every quoted value is a median over the individual runs—six orientation regimes for map entries and eight benchmark maps for regime entries—and the stated ranges are the extremes of those medians rather than readings from single runs; query entries are built from the per-run mean latencies.
Query latency is the least parameter-sensitive of the three quantities. Across the entire sweep it remains within 0.20–4.67 µs, and on each map it varies by less than a factor of five: spans 0.20–0.98 µs and the largest map only 2.91–4.67 µs over all and . Preprocessing and memory are far more sensitive. Fine tiles () multiply the number of boundary ports lifted at each level: the median index footprint reaches 901.5 MiB on , 111.0 MiB on , and 77.7 MiB on , without improving query latency. Large tiles () let the intra-tile closure term (22) dominate: on at , preprocessing grows from 2.40 s at to 11.96 s at and 30.91 s at , while the median footprint rises from 315.5–333.6 MiB over to 840.3 MiB at . The memory footprint therefore has a broad minimum at , where needs about a third of a gibibyte and and about 28 and 31 MiB. Wide aggregation () inflates interface width, pushing preprocessing to 6.04–30.56 s across the sweep, whereas deepens the hierarchy without lowering query latency. Within this region, Table 6 places () among the three smallest preprocessing times and the three smallest index footprints in every orientation regime, and Table 5 places it among the three smallest footprints on six of the eight maps. We adopt it as the
20 of 29
operating point, and, unless otherwise stated, every later comparison with the other methods uses this configuration. The same cell is not a query-latency minimum. At , raising the base tile from to multiplies the regime-median preprocessing time by a factor of about 11–14, while the regime-median query latency stays within a factor of 1.5, so the added construction cost is not repaid by the query. The chosen point lies on that plateau: between and the regime-median index footprint changes by about one mebibyte. At the per-map medians span 0.06–3.52 s preprocessing, 7.0–315.5 MiB index memory, and 0.28–3.03 s query latency.
Aggregated over the eight maps, the regime medians confirm the orientation-insensitivity of the hierarchy: for a fixed the median query latency moves by well under a factor of two between V01 and V06, and at it stays between 0.85 and 1.06 s across the six regimes (Table 6), with a median index footprint between 48.5 and 50.1 MiB and median preprocessing between 0.15 and 0.28 s.
The latency of an individual query is governed by the level of the lowest ancestor that certifies it, not by graph diameter (Section 5). A pair whose endpoints share a base tile is certified by a single local closure lookup when that entry is one; a zero entry is not conclusive, because the pair may still be connected through a path that leaves the tile, so the query proceeds up the ancestor chain exactly as for pairs in different tiles.
Consequently, unreachable pairs are always evaluated up to the root and form the slow tail of every latency distribution reported here, and the residual max-to-min variation of H-BRICK in Figure 6 is consistent with the changing share of unreachable pairs across regimes rather than with any change in map diameter.
Table 4. Calibrated reachability density and bidirectional edge probability across orientation regimes V01–V06 for the eight benchmark maps. On , the tree-like maze is calibrated via strongly connected component (SCC) partitioning following .
| Map | V01 (≈ 95%) | V02 (≈ 70%) | V03 (≈ 50%) | V04 (≈ 16%) | V05 (≈ 3%) | V06 (Gradient) |
|---|---|---|---|---|---|---|
| 100% (1.00) | 20% SCC (0.80) | 40% SCC (0.60) | 60% SCC (0.40) | 80% SCC (0.20) | DAG (0.00) | |
| 95.6% (0.31) | 62.6% (0.18) | 27.8% (0.16) | 6.8% (0.09) | 3.1% (0.06) | 1.0% | |
| 97.0% (0.85) | 60.4% (0.69) | 45.7% (0.66) | 32.1% (0.63) | 2.5% (0.57) | 0.1% | |
| 94.7% (0.61) | 68.2% (0.39) | 46.9% (0.36) | 35.6% (0.35) | 8.7% (0.32) | 9.2% | |
| 96.8% (0.53) | 81.7% (0.21) | 50.1% (0.15) | 36.7% (0.11) | 4.9% (0.04) | 9.1% | |
| 93.5% (0.43) | 61.7% (0.21) | 43.5% (0.18) | 21.4% (0.14) | 2.0% (0.05) | 7.3% | |
| 92.5% (0.33) | 60.2% (0.13) | 52.1% (0.11) | 15.4% (0.07) | 2.7% (0.04) | 7.8% | |
| 94.6% (0.35) | 71.0% (0.11) | 37.0% (0.06) | 15.3% (0.04) | 3.0% (0.02) | 7.6% |
21 of 29 Table 5. Preprocessing time, query latency, and index memory of HBrickSkipLift for every benchmark map across base-tile side b ∈ {4, 8, 16, 24, 32, 48, 64, 96} and aggregation factor g ∈ {2, 4, 8}. Each entry is the median across the six orientation regimes of the per-regime measurement; query entries are the per-regime mean query latencies. Bold entries mark the three smallest values of the corresponding metric within each map block, and the smallest is also underlined. Preprocessing (s) Query latency (µs) Index memory (MiB) Map g 4 8 16 24 32 48 64 96 4 8 16 24 32 48 64 96 4 8 16 24 32 48 64 96 M1 2 0.26 0.13 0.08 0.07 0.17 0.37 0.45 0.83 0.98 0.62 0.32 0.28 0.23 0.22 0.21 0.22 104.2 50.3 31.2 30.0 29.2 37.4 50.3 85.1 4 0.20 0.11 0.07 0.06 0.18 0.39 0.47 0.83 0.87 0.44 0.30 0.28 0.24 0.22 0.20 0.24 77.7 38.2 27.8 27.7 27.9 36.2 50.1 85.0 8 0.19 0.12 0.09 0.07 0.17 0.39 0.46 0.80 0.83 0.45 0.29 0.25 0.22 0.24 0.24 0.24 74.2 39.3 28.2 28.1 29.8 37.7 51.8 85.6 M2 2 1.39 0.79 0.47 1.07 1.04 2.29 4.56 10.27 2.20 2.20 2.03 2.36 1.90 2.44 2.00 2.39 306.4 170.5 107.6 106.3 98.1 130.4 174.3 306.8 4 1.38 0.85 0.67 1.22 1.30 2.44 4.57 10.18 2.15 2.70 1.90 1.89 2.23 1.74 1.82 2.31 236.9 134.0 100.3 101.3 98.7 127.8 177.6 308.6 8 2.53 2.41 1.43 1.71 2.06 2.89 5.41 11.11 2.27 3.62 1.98 1.62 1.87 2.89 3.12 2.13 263.6 175.1 123.8 119.3 130.0 150.6 208.2 320.2 M3 2 0.44 0.10 0.08 0.09 0.72 1.33 2.83 7.22 1.38 0.73 0.51 0.51 0.44 0.46 0.39 0.39 145.4 37.5 32.7 36.5 43.4 65.8 101.8 186.4 4 0.37 0.09 0.08 0.09 0.73 1.34 2.78 7.73 1.26 0.64 0.47 0.45 0.42 0.38 0.37 0.40 111.0 31.6 30.9 35.3 42.6 65.2 101.7 186.2 8 0.41 0.09 0.08 0.09 0.75 1.35 2.77 7.34 1.22 0.51 0.44 0.39 0.39 0.42 0.36 0.32 109.1 30.7 30.5 35.0 42.9 65.4 101.8 186.2 M4 2 0.88 0.47 0.28 0.25 0.86 1.46 2.78 7.31 1.85 1.63 1.35 1.42 1.20 1.30 1.14 1.37 220.5 114.7 71.2 66.4 65.2 84.8 118.3 206.3 4 0.88 0.49 0.40 0.32 1.06 1.47 2.80 7.37 1.87 1.63 1.41 1.19 1.09 1.04 1.02 1.32 169.0 88.3 64.7 62.3 63.8 82.6 119.3 206.8 8 1.49 1.45 0.71 0.58 1.31 1.79 3.40 7.46 1.88 1.78 1.16 1.00 1.03 1.17 1.10 1.01 177.5 104.3 73.5 69.3 77.0 92.3 131.8 211.7 M5 2 0.09 0.05 0.03 0.05 0.08 0.15 0.26 0.56 0.96 0.84 0.59 0.62 0.59 0.56 0.54 0.42 25.6 13.6 8.5 7.6 7.7 9.0 11.3 17.8 4 0.07 0.05 0.03 0.06 0.09 0.15 0.26 0.59 0.73 0.58 0.52 0.52 0.45 0.41 0.39 0.32 18.6 10.2 7.3 7.0 7.1 8.8 11.1 17.8 8 0.12 0.08 0.04 0.08 0.10 0.16 0.25 0.60 0.79 0.54 0.46 0.47 0.45 0.35 0.32 0.30 18.1 10.2 7.4 7.7 7.6 8.9 11.0 17.8 M6 2 0.18 0.10 0.06 0.07 0.18 0.29 0.62 1.19 1.35 0.93 0.69 0.85 0.66 0.70 0.57 0.62 45.0 24.3 15.1 14.5 14.0 17.8 24.9 39.5 4 0.17 0.10 0.09 0.09 0.20 0.30 0.66 1.16 1.05 0.88 0.64 0.60 0.56 0.63 0.44 0.38 32.3 20.4 13.8 13.2 13.9 17.7 25.2 39.4 8 0.31 0.19 0.15 0.13 0.31 0.35 0.64 1.15 1.05 0.74 0.60 0.73 0.56 0.45 0.42 0.39 34.6 21.6 17.1 15.8 17.4 18.9 25.2 39.4 M7 2 0.96 0.56 0.31 0.53 0.79 1.41 2.62 6.14 1.98 1.88 1.56 1.59 1.36 1.57 1.31 1.42 236.4 126.8 77.2 73.3 67.3 84.8 112.1 188.0 4 0.93 0.55 0.45 0.61 0.90 1.52 2.85 6.43 2.01 1.62 1.33 1.47 1.15 1.30 1.30 1.45 182.0 98.2 70.4 68.6 66.5 82.6 113.6 188.7 8 1.58 1.42 0.84 0.91 1.35 1.82 3.27 6.56 1.74 2.12 1.36 1.26 1.19 1.42 1.41 1.16 192.6 119.6 82.8 78.5 83.2 95.4 130.4 195.1 M8 2 5.73 2.96 1.71 3.02 3.32 6.86 11.37 29.13 3.00 3.05 3.25 3.37 3.14 3.65 3.69 4.19 1314.6 676.2 397.6 371.5 326.4 402.5 499.3 842.4 4 4.94 3.04 2.40 3.52 3.84 6.88 11.96 30.91 3.42 2.91 3.05 3.03 2.98 3.61 3.58 3.88 901.5 547.0 333.6 315.5 319.8 397.2 505.9 840.3 8 7.65 7.17 10.98 7.07 6.04 8.94 15.98 30.56 3.14 2.91 4.67 3.70 3.42 3.33 3.34 4.11 954.8 640.9 450.4 396.3 386.1 448.3 580.2 895.9 Table 6. Preprocessing time, query latency, and index memory of HBrickSkipLift for each orientation regime across base-tile side b ∈ {4, 8, 16, 24, 32, 48, 64, 96} and aggregation factor g ∈ {2, 4, 8}. Each entry is the median across the eight benchmark maps of the per-map measurement. Bold entries mark the three smallest values of the corresponding metric within each regime block, and the smallest is also underlined. Preprocessing (s) Query latency (µs) Index memory (MiB) Map g 4 8 16 24 32 48 64 96 4 8 16 24 32 48 64 96 4 8 16 24 32 48 64 96 V01 2 1.18 0.50 0.25 0.24 0.86 1.65 3.49 8.95 1.59 1.43 1.26 1.15 1.00 1.07 0.97 1.15 184.0 83.6 53.1 52.8 55.7 76.8 108.4 188.7 4 0.98 0.45 0.35 0.28 0.95 1.62 3.69 9.18 1.44 1.16 1.20 1.06 0.96 0.95 1.05 1.12 141.0 64.3 48.9 50.1 54.6 75.4 109.1 189.0 8 1.53 1.17 0.60 0.50 1.27 1.91 4.33 9.26 1.46 1.01 0.92 0.92 0.86 1.02 0.70 0.79 144.4 72.9 53.1 53.5 61.3 80.4 117.6 192.2 V02 2 0.80 0.34 0.22 0.19 0.78 1.42 2.94 7.50 1.70 1.28 1.09 1.07 0.86 0.94 0.85 0.95 183.1 82.6 52.1 51.6 54.5 75.5 107.2 187.4 4 0.74 0.35 0.28 0.24 0.88 1.46 3.27 7.66 1.66 1.11 1.07 0.85 0.79 0.81 0.85 0.75 140.1 63.4 47.9 48.9 53.4 74.1 107.8 187.7 8 1.17 0.95 0.53 0.43 1.17 1.68 3.43 7.72 1.51 1.03 0.91 0.81 0.72 0.69 0.74 0.62 143.4 71.9 52.2 52.4 60.1 79.1 116.3 190.9 V03 2 0.70 0.32 0.19 0.17 0.78 1.42 2.75 7.07 1.66 1.35 1.02 1.16 0.93 1.05 0.91 1.05 183.0 82.5 52.0 51.5 54.3 75.3 107.1 187.3 4 0.65 0.33 0.25 0.21 0.85 1.43 2.88 7.52 1.65 1.30 0.98 1.02 0.84 0.95 0.74 0.94 140.0 63.3 47.8 48.8 53.2 73.9 107.7 187.6 8 0.99 0.81 0.47 0.36 1.05 1.63 3.08 7.49 1.51 1.32 0.91 0.88 0.77 0.92 0.84 0.68 143.3 71.8 52.0 52.2 60.0 78.9 116.2 190.8 V04 2 0.63 0.28 0.18 0.17 0.75 1.32 2.59 6.07 1.67 1.23 1.01 1.15 0.89 1.05 0.84 0.94 183.0 82.5 52.0 51.4 54.3 75.0 106.8 187.0 4 0.58 0.28 0.24 0.21 0.78 1.39 2.65 6.35 1.87 1.23 1.04 1.03 0.82 0.81 0.69 0.96 140.0 63.3 47.8 48.8 53.2 73.7 107.4 187.2 8 0.89 0.68 0.39 0.35 1.01 1.46 2.84 6.36 1.57 1.21 0.89 0.87 0.89 0.79 0.76 0.72 143.3 71.8 52.0 52.2 59.9 78.9 115.9 190.4 V05 2 0.55 0.26 0.16 0.15 0.70 1.19 2.19 5.19 1.53 1.30 1.06 0.98 0.87 0.87 0.70 0.71 182.9 82.4 51.9 51.3 54.1 74.8 106.6 186.8 4 0.48 0.25 0.21 0.17 0.73 1.21 2.33 5.24 1.34 1.20 0.85 0.88 0.71 0.76 0.69 0.66 139.9 63.2 47.7 48.6 53.1 73.5 107.2 187.1 8 0.73 0.50 0.30 0.26 0.88 1.30 2.37 4.97 1.51 1.42 0.86 0.88 0.82 0.77 0.89 0.65 143.2 71.7 51.9 52.1 59.8 78.8 115.7 190.3 V06 2 0.53 0.24 0.15 0.14 0.59 0.96 1.61 3.62 1.41 1.34 0.97 1.19 1.15 0.96 0.92 1.02 181.5 82.0 51.7 51.1 54.1 75.1 106.9 187.0 4 0.44 0.23 0.18 0.15 0.61 0.97 1.61 3.77 1.45 1.33 0.95 0.92 0.92 0.82 0.75 0.77 138.6 62.8 47.5 48.5 53.0 73.7 107.5 187.3 8 0.66 0.47 0.27 0.22 0.71 1.05 1.73 3.79 1.36 1.39 1.00 0.94 0.78 0.87 0.80 0.82 141.9 71.3 51.7 51.9 59.7 78.7 116.0 190.5 7.3. Hierarchy Ablation: Flat vs. Multi-Level Composition To gauge the contribution of the recursive hierarchy, Table 7 (by map) and Table 8 (by regime) report single-level Flat BRICK (BrickSearch) at g = 4, which materializes identical base-tile Kleene closures (A ⋆ T , R VB T , ST, R BV T ) but resolves inter-tile reachability via online breadth-first search (BFS) over the flat boundary-port graph rather than precomputed hierarchical projections. Entries in these tables are averaged over the six regimes or over the eight maps respectively, and the H-BRICK reference values use the same averaging. At the operating point (b = 24, g = 4), the recursive hierarchy reduces mean query latency by 21.5× on M1, by 24.3× on M3, and by 31.0× to 381.7× on the remaining maps—from 152.32 µs to 1.19 µs on M4 (127.6×) and from 1,186.40 µs to 3.11 µs on M8 (381.7×)—while requiring 1.49× to 4.42× more preprocessing (0.330 s vs. 0.075 s on M4) and 1.07× to 1.87× more index memory. The mechanism behind the gap is structural: flat port-graph BFS visits a number of ports
22 of 29
Table 7. Preprocessing time, query latency, and index memory of single-level Flat BRICK (BrickSearch) at g = 4 for every benchmark map across base-tile side b. The upper block lists the Flat BRICK measurements; the lower block lists the Flat-to-H-BRICK ratios (×, values above one favour the hierarchy). Both are averaged over the six orientation regimes. Bold entries mark the three best values of each quantity within a map block, and the best is also underlined.
| Map | Preprocessing (s) | Query latency (μs) | Index memory (MiB) | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4 | 8 | 16 | 24 | 32 | 48 | 64 | 96 | 4 | 8 | 16 | 24 | 32 | 48 | 64 | 96 | 4 | 8 | 16 | 24 | 32 | 48 | 64 | 96 | |
| M₁ | 0.03 | 0.03 | 0.03 | 0.03 | 0.15 | 0.39 | 0.52 | 1.04 | 67.92 | 31.83 | 13.04 | 8.52 | 5.42 | 3.09 | 2.00 | 1.58 | 26.6 | 19.8 | 18.8 | 21.3 | 24.0 | 33.5 | 48.2 | 83.5 |
| M₂ | 0.08 | 0.09 | 0.09 | 0.72 | 0.82 | 1.99 | 4.01 | 9.45 | 1110 | 577 | 322 | 249 | 213 | 145 | 117 | 80.22 | 55.5 | 43.8 | 44.1 | 56.2 | 67.1 | 105.6 | 160.1 | 295.1 |
| M₃ | 0.05 | 0.04 | 0.05 | 0.06 | 0.68 | 1.24 | 2.63 | 6.91 | 528 | 45.11 | 19.91 | 10.39 | 7.01 | 4.09 | 3.07 | 2.43 | 40.8 | 24.4 | 27.7 | 33.1 | 41.4 | 64.4 | 101.1 | 185.8 |
| M₄ | 0.08 | 0.07 | 0.07 | 0.07 | 0.75 | 1.28 | 2.78 | 7.21 | 872 | 441 | 235 | 152 | 127 | 79.71 | 63.79 | 52.57 | 43.7 | 33.6 | 34.0 | 38.8 | 48.2 | 72.2 | 111.2 | 200.8 |
| M₅ | 0.01 | 0.01 | 0.01 | 0.04 | 0.07 | 0.13 | 0.22 | 0.54 | 77.92 | 37.89 | 19.01 | 16.17 | 12.01 | 9.37 | 8.14 | 5.47 | 6.2 | 4.6 | 4.4 | 5.2 | 5.8 | 8.0 | 10.4 | 17.5 |
| M₆ | 0.02 | 0.02 | 0.02 | 0.04 | 0.16 | 0.27 | 0.60 | 1.15 | 160 | 81.74 | 39.88 | 28.22 | 21.82 | 18.11 | 10.45 | 7.78 | 10.7 | 8.3 | 8.0 | 9.2 | 11.0 | 15.5 | 23.9 | 38.7 |
| M₇ | 0.07 | 0.07 | 0.07 | 0.31 | 0.62 | 1.24 | 2.60 | 6.12 | 903 | 442 | 284 | 187 | 135 | 107 | 82.53 | 66.46 | 44.2 | 34.5 | 33.9 | 40.3 | 47.5 | 69.3 | 103.6 | 181.2 |
| M₈ | 0.27 | 0.29 | 0.29 | 1.82 | 2.44 | 5.71 | 11.13 | 29.16 | 5784 | 3044 | 1592 | 1186 | 969 | 711 | 622 | 436 | 179.5 | 140.1 | 139.2 | 170.7 | 200.6 | 301.6 | 438.6 | 793.3 |
| Ratio (×) | Preprocessing | Query speedup | Index memory | |||||||||||||||||||||
| M₁ | 0.16 | 0.25 | 0.38 | 0.43 | 0.81 | 0.90 | 0.93 | 0.94 | 72.8 | 56.6 | 33.1 | 21.5 | 17.0 | 10.1 | 6.57 | 5.00 | 0.34 | 0.52 | 0.68 | 0.77 | 0.86 | 0.93 | 0.96 | 0.98 |
| M₂ | 0.06 | 0.10 | 0.14 | 0.61 | 0.64 | 0.86 | 0.92 | 0.57 | 7.92 | 227 | 163 | 118 | 97.5 | 80.3 | 63.1 | 35.8 | 0.23 | 0.33 | 0.44 | 0.55 | 0.68 | 0.82 | 0.90 | 0.96 |
| M₃ | 0.15 | 0.49 | 0.62 | 0.67 | 0.97 | 0.98 | 0.98 | 0.98 | 391 | 71.1 | 42.4 | 24.3 | 17.3 | 11.0 | 8.38 | 6.29 | 0.37 | 0.77 | 0.90 | 0.94 | 0.97 | 0.99 | 0.99 | 1.00 |
| M₄ | 0.09 | 0.14 | 0.18 | 0.23 | 0.75 | 0.88 | 0.94 | 0.97 | 478 | 280 | 164 | 128 | 107 | 75.6 | 58.7 | 39.4 | 0.26 | 0.38 | 0.52 | 0.62 | 0.75 | 0.87 | 0.93 | 0.97 |
| M₅ | 0.11 | 0.19 | 0.26 | 0.64 | 0.80 | 0.91 | 0.92 | 0.97 | 102 | 62.1 | 35.2 | 31.0 | 25.3 | 22.2 | 20.2 | 17.9 | 0.33 | 0.45 | 0.60 | 0.74 | 0.81 | 0.90 | 0.94 | 0.98 |
| M₆ | 0.10 | 0.15 | 0.20 | 0.43 | 0.80 | 0.91 | 0.93 | 0.97 | 153 | 91.1 | 62.0 | 41.8 | 39.3 | 27.8 | 24.0 | 20.5 | 0.33 | 0.41 | 0.58 | 0.69 | 0.79 | 0.87 | 0.95 | 0.98 |
| M₇ | 0.07 | 0.12 | 0.16 | 0.51 | 0.70 | 0.85 | 0.92 | 0.97 | 443 | 259 | 202 | 127 | 115 | 76.9 | 59.3 | 47.0 | 0.24 | 0.35 | 0.48 | 0.58 | 0.71 | 0.83 | 0.91 | 0.96 |
| M₈ | 0.05 | 0.08 | 0.11 | 0.51 | 0.60 | 0.81 | 0.88 | 0.96 | 1657 | 1051 | 515 | 382 | 333 | 204 | 167 | 116 | 0.20 | 0.25 | 0.41 | 0.54 | 0.62 | 0.75 | 0.86 | 0.94 |
Table 8. Preprocessing time, query latency, and index memory of single-level Flat BRICK (BrickSearch) at g = 4 for each orientation regime across base-tile side b. The upper block lists the Flat BRICK measurements; the lower block lists the Flat-to-H-BRICK ratios (×, values above one favour the hierarchy). Both are averaged over the eight benchmark maps. Bold entries mark the three best values of each quantity within a regime block, and the best is also underlined.
| Map | Preprocessing (s) | Query latency (μs) | Index memory (MiB) | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4 | 8 | 16 | 24 | 32 | 48 | 64 | 96 | 4 | 8 | 16 | 24 | 32 | 48 | 64 | 96 | 4 | 8 | 16 | 24 | 32 | 48 | 64 | 96 | |
| V01 | 0.08 | 0.09 | 0.10 | 0.40 | 0.83 | 1.81 | 4.23 | 10.36 | 2589 | 1451 | 932 | 684 | 607 | 448 | 410 | 293 | 52.4 | 41.1 | 41.9 | 50.1 | 58.8 | 86.8 | 127.4 | 227.2 |
| V02 | 0.09 | 0.08 | 0.08 | 0.39 | 0.77 | 1.67 | 3.54 | 8.82 | 1996 | 910 | 454 | 318 | 248 | 174 | 144 | 101 | 51.1 | 38.8 | 39.0 | 47.1 | 56.0 | 84.0 | 124.9 | 224.7 |
| V03 | 0.08 | 0.08 | 0.08 | 0.40 | 0.72 | 1.61 | 3.15 | 8.04 | 1334 | 620 | 261 | 193 | 139 | 99.84 | 69.20 | 50.38 | 50.9 | 38.4 | 38.3 | 46.4 | 55.2 | 83.3 | 124.2 | 224.0 |
| V04 | 0.08 | 0.08 | 0.08 | 0.40 | 0.70 | 1.52 | 2.91 | 7.69 | 856 | 363 | 161 | 125 | 81.32 | 55.26 | 38.26 | 30.50 | 50.7 | 38.0 | 37.9 | 45.9 | 54.8 | 82.8 | 123.8 | 223.7 |
| V05 | 0.08 | 0.08 | 0.07 | 0.37 | 0.69 | 1.38 | 2.63 | 6.14 | 172 | 95.56 | 45.92 | 29.29 | 21.07 | 13.34 | 8.29 | 5.59 | 50.5 | 37.7 | 37.5 | 45.5 | 54.3 | 82.4 | 123.4 | 223.3 |
| V06 | 0.06 | 0.07 | 0.07 | 0.35 | 0.55 | 1.21 | 1.92 | 5.12 | 181 | 86.30 | 39.19 | 29.74 | 20.61 | 17.04 | 12.18 | 9.97 | 49.9 | 37.8 | 38.0 | 46.1 | 55.0 | 83.1 | 124.0 | 223.9 |
| Ratio (×) | Preprocessing | Query speedup | Index memory | |||||||||||||||||||||
| V01 | 0.04 | 0.07 | 0.12 | 0.44 | 0.62 | 0.82 | 0.89 | 0.96 | 1582 | 1087 | 680 | 555 | 502 | 363 | 311 | 207 | 0.24 | 0.33 | 0.49 | 0.61 | 0.70 | 0.82 | 0.90 | 0.96 |
| V02 | 0.06 | 0.09 | 0.12 | 0.47 | 0.65 | 0.82 | 0.90 | 0.96 | 1121 | 669 | 391 | 270 | 223 | 149 | 112 | 82.9 | 0.24 | 0.32 | 0.48 | 0.59 | 0.69 | 0.81 | 0.90 | 0.96 |
| V03 | 0.06 | 0.11 | 0.14 | 0.51 | 0.67 | 0.86 | 0.91 | 0.96 | 706 | 403 | 202 | 140 | 118 | 75.5 | 61.7 | 36.9 | 0.24 | 0.32 | 0.47 | 0.59 | 0.69 | 0.81 | 0.90 | 0.96 |
| V04 | 0.08 | 0.13 | 0.16 | 0.55 | 0.70 | 0.87 | 0.93 | 0.97 | 469 | 231 | 127 | 93.8 | 69.3 | 45.5 | 31.1 | 20.2 | 0.23 | 0.31 | 0.47 | 0.58 | 0.69 | 0.81 | 0.90 | 0.96 |
| V05 | 0.10 | 0.16 | 0.18 | 0.60 | 0.75 | 0.89 | 0.94 | 0.98 | 127 | 69.9 | 43.6 | 29.6 | 19.9 | 14.6 | 8.16 | 6.44 | 0.23 | 0.31 | 0.47 | 0.58 | 0.69 | 0.81 | 0.90 | 0.96 |
| V06 | 0.07 | 0.14 | 0.18 | 0.56 | 0.72 | 0.87 | 0.91 | 0.96 | 103 | 61.8 | 29.8 | 22.5 | 17.5 | 13.6 | 10.1 | 7.34 | 0.23 | 0.31 | 0.47 | 0.59 | 0.69 | 0.81 | 0.90 | 0.96 |
that grows with the reachable region of the source, whereas the hierarchical query touches a bounded number of ancestor interfaces regardless of how far the reachable region extends. The base-tile sweep on M₈ (Table 7) highlights the scaling barrier of single-level decomposition: fine tiles (b ≤ 8) turn most passable cells into boundary ports and inflate flat port-graph BFS traversal to 5,783.81 μs, whereas coarse tiles (b = 96) lower search latency to 436.12 μs at the cost of quadratic intra-tile closure explosion (29.16 s preprocessing, 793.3 MiB index). H-BRICK, by contrast, stays between 2.90 and 3.75 μs for every b, so that its advantage over flat search grows from 116× at b = 96 to 1,657× at b = 4; this insensitivity to the size of the flat boundary graph is the behaviour the recursive hierarchy is designed to deliver. Across orientation regimes (Table 8), the query ratio at b = 24 falls from 555× under V01 to 22.5× under V06, tracking the shrinking reachable regions, while the preprocessing and memory ratios remain within 0.44–0.60 and 0.58–0.61.
7.4. Batched Many-Source/Many-Target Queries
In multi-robot coordination and frontier exploration, reachability queries arrive in batches over common vertex sets S = {s₁, ..., sₖ} and D = {t₁, ..., tₖ}. In order to assess the performance of the proposed method in many-to-many reachability check scenarios, Table 9 and Figure 5(b) evaluate the batched query algorithm of Section 6.3 for k ∈ {4, 16, 64} on all 48 instances. For each instance and k, k distinct sources and k distinct targets are drawn uniformly from the passable vertices. The batch call is executed twice as warm-up and then eleven times, and its mean time is compared with one
23 of 29
scalar pass of HBrickSkipLift over the same pairs measured immediately afterwards. Rather than executing independent scalar traversals, the batch shares the source lifts, the target lifts, and the interface reachability frontiers across all pairs meeting at the same ancestor. The benefit grows with : at the batch path is between and the speed of the scalar loop (median ), because the shared lifts are amortized over only 16 pairs; at it is faster; and at (4,096 pairs) it is faster (median ), reaching 5.7 ns per pair on V06 and 14.5 ns per pair on V01 (Table 9). External graph reachability indices such as 0'Reach and GRAIL lack batch work-sharing primitives and require independent scalar queries. In multi-agent fleet dispatch, where thousands of agent-to-goal queries are evaluated per cycle, batched H-BRICK resolves the complete 4,096-pair Cartesian workload in 0.39 ms on under V06 (96 ns amortized per pair) and in 1.57 ms under V01 (383 ns per pair), where the giant component makes almost every pair reachable and leaves less work to share.
Table 9. Batched speedup over the scalar HBrickSkipLift loop for (16 pairs), (256 pairs), and (4,096 pairs), reported in each cell as , , , for every benchmark map (rows) and orientation regime (columns). All 144 batch evaluations were verified against BFS with zero mismatches.
| Map | V01 | V02 | V03 | V04 | V05 | V06 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2.5, | 10.5, | 19.4 | 0.6, | 2.7, | 7.1 | 0.6, | 2.4, | 5.5 | 0.6, | 2.0, | 5.0 | 0.5, | 2.2, | 5.1 | 0.8, | 2.5, | 5.5 | |
| 1.6, | 4.6, | 17.0 | 1.9, | 6.8, | 19.6 | 2.2, | 7.4, | 22.9 | 2.8, | 8.2, | 19.8 | 2.2, | 4.8, | 18.3 | 2.9, | 6.3, | 14.3 | |
| 1.8, | 7.6, | 17.1 | 1.9, | 11.4, | 14.5 | 1.9, | 9.2, | 17.8 | 1.8, | 8.5, | 15.6 | 1.8, | 6.8, | 15.4 | 1.3, | 3.0, | 8.6 | |
| 1.1, | 3.5, | 13.0 | 1.4, | 4.6, | 10.9 | 0.8, | 5.2, | 14.4 | 2.2, | 4.2, | 14.9 | 2.4, | 7.5, | 12.8 | 2.1, | 7.5, | 11.6 | |
| 1.9, | 5.7, | 20.4 | 1.6, | 6.5, | 18.0 | 1.4, | 8.1, | 17.6 | 2.4, | 7.4, | 17.3 | 2.0, | 7.6, | 18.7 | 2.5, | 7.2, | 19.9 | |
| 1.7, | 6.5, | 20.8 | 1.9, | 5.7, | 17.5 | 1.9, | 6.2, | 18.7 | 4.1, | 9.5, | 20.2 | 1.5, | 6.7, | 16.1 | 2.4, | 7.3, | 18.8 | |
| 1.3, | 4.5, | 13.2 | 2.5, | 4.5, | 17.2 | 1.4, | 6.2, | 16.1 | 2.1, | 6.4, | 14.1 | 2.6, | 10.2, | 12.8 | 2.2, | 6.0, | 16.3 | |
| 0.6, | 2.3, | 7.3 | 0.5, | 2.3, | 10.1 | 0.8, | 3.9, | 13.0 | 1.4, | 4.8, | 13.2 | 0.8, | 3.5, | 12.8 | 1.6, | 5.2, | 13.7 | |


Figure 5. Condensation levels and batch sharing across the benchmark recipes (higher is better). (a) Speedup over BFS against the SCC condensation ratio , where and denote the numbers of strongly connected components and passable vertices; lower ratios indicate stronger graph contraction. (b) Batched H-BRICK speedup over scalar query evaluation against the batch dimension evaluating Cartesian query pairs, with solid curves for V01 and dashed curves for V06.
Table 10. Break-even query volume of Eq. (30) and, in parentheses, the corresponding speedup over online BFS, both for HBrickSkipLift at , for each orientation regime (rows) and benchmark map (columns). Dashes mark instances where the indexed mean latency does not improve on online BFS, so no finite break-even volume exists.
| Regime | ||||||||
|---|---|---|---|---|---|---|---|---|
| V01 | 105 (883×) | 392 (1950×) | 46 (5062×) | 263 (1519×) | 389 (262×) | 260 (670×) | 384 (1421×) | 364 (4107×) |
| V02 | — (0.94×) | 744 (698×) | 46 (4083×) | 209 (1697×) | 332 (373×) | 310 (495×) | 433 (1081×) | 430 (3823×) |
| V03 | — (0.64×) | 1,291 (358×) | 58 (3549×) | 183 (1593×) | 468 (244×) | 321 (319×) | 526 (716×) | 722 (1607×) |
| V04 | — (0.58×) | 2,998 (192×) | 81 (2213×) | 272 (882×) | 683 (147×) | 945 (149×) | 880 (411×) | 979 (959×) |
| V05 | — (0.27×) | 8,955 (67.8×) | 633 (276×) | 578 (370×) | 3,474 (34.5×) | 4,793 (29.4×) | 4,103 (103×) | 3,346 (427×) |
| V06 | — (0.38×) | 57,581 (10.1×) | 21,674 (11.3×) | 1,085 (169×) | 3,951 (25.3×) | 4,078 (29.7×) | 5,780 (53.0×) | 7,213 (98.6×) |
24 of 29
7.5. Break-Even Query Threshold
Because H-BRICK incurs an upfront preprocessing cost to construct the hierarchy, this build time is amortized over repeated queries. The break-even query threshold
defines the query volume at which cumulative indexed query time amortizes offline hierarchy construction, where denotes offline index build time, is the online traversal latency of unindexed BFS, and is the mean query latency of H-BRICK. Table 10 reports, for HBrickSkipLift at , the threshold for every regime and map together with the corresponding speedup over BFS: under V01 break-even is reached after only 46 queries on and 105 on , and between 46 and 392 across the eight maps; in sparse-flow regimes the volume grows by orders of magnitude, up to 57,581 queries on under V06, and on no finite threshold exists from V02 onward because the indexed latency no longer improves on BFS. In persistent multi-query settings such as multi-agent pathfinding and robotic dispatching, where repeated queries are evaluated over static grid layouts, H-BRICK operates deeply within the amortized regime. Evaluating the same pairs in batches of lowers the per-pair latency by a factor of 5.0 to 22.9 relative to one scalar HBrickSkipLift pass over those pairs (median 15.5; Table 9). The break-even count itself falls by only about 0.2% on a typical instance, because the BFS latency and the scalar H-BRICK query in the denominator of (30) already differ by a few orders of magnitude affecting the break-even query count insignificantly. However, the wall-clock time spent answering that same volume shortens by the batch factor, to .
7.6. External Baseline Comparison on Benchmark Workloads
Table 11 compares H-BRICK at with the external baselines across all six orientation regimes. Under the random-asymmetric regimes V01–V05, 0'Reach has the lowest mean query latency on every map and is faster than H-BRICK on all 40 instances because it computes the strongly connected components, and a query whose endpoints share a component is settled simply by comparing those identifiers. The largest gap occurs under V01, where the regime-median query latency is for 0'Reach and for H-BRICK; Table 11 reports the corresponding SCC-DAG and GRAIL measurements.
Under gradient flow (V06) the ordering reverses and H-BRICK is faster than 0'Reach on seven of the eight maps, losing only on the corridor maze ; Tables 11 and 12 also report SCC-DAG and GRAIL, and V06 was evaluated at a single flow angle. Aggregated over the suite, the geometric-mean speedup over BFS is for 0'Reach against for H-BRICK, and 0'Reach also builds a smaller index (3.7MiB) in less time (37.8 ms) than H-BRICK (48.5 MiB, 0.17 s). H-BRICK is therefore not the fastest method on every workload; it is a spatially structured exact index whose latency varies less with orientation and that stays in the microsecond range across all six regimes (Figure 6).
H-BRICK admits a batched query that reuses the source and target lifts across many pairs, and at this is faster than one scalar pass over the same pairs (Table 9). 0'Reach has no such sharing, so each pair remains an independent query. At under V06, H-BRICK wins on all eight maps and reaches 34.6 ns per pair against 472.7 ns per pair for 0'Reach, a advantage; the batch is thus a complementary use case in which H-BRICK shares work across common endpoints (Table 13).
25 of 29
Table 11. Median of the eight map-level mean query latencies, in microseconds, for each orientation regime, with the best per-regime value in bold (lower is better); H-BRICK is HBrickSkipLift at . Overall is the geometric mean over the 48 matched per-instance BFS speedups. TwoHop cells are dashes because it completed 11 of 48 instances and no regime reaches full coverage.
| Method | V01 | V02 | V03 | V04 | V05 | V06 | Overall vs BFS |
|---|---|---|---|---|---|---|---|
| BFS | 1,820 | 1,630 | 1,150 | 509 | 121 | 17.6 | ×1.00 |
| DFS | 1,440 | 1,420 | 976 | 423 | 87.4 | 16.5 | ×1.28 |
| SCC-DAG | 1.28 | 3.08 | 3.04 | 2.39 | 1.76 | 21.5 | ×73.8 |
| GRAIL | 0.296 | 3.13 | 1.61 | 2.28 | 1.37 | 23.9 | ×93.5 |
| O'Reach | 0.012 | 0.021 | 0.031 | 0.0495 | 0.069 | 4.24 | ×2,240 |
| H-BRICK | 1.06 | 0.847 | 1.02 | 1.03 | 0.884 | 0.924 | ×190 |
| TwoHop | – | – | – | – | – | – | – |
Table 12. Query performance under gradient-flow orientation V06 across the benchmark suite. All speedup factors are ratios of mean query latencies relative to online BFS measured in the same campaign and query workload; H-BRICK denotes HBrickSkipLift at . The bottom row reports H-BRICK's relative speedup over O'Reach.
| Method / Metric | ||||||||
|---|---|---|---|---|---|---|---|---|
| SCC-DAG (vs BFS) | ||||||||
| GRAIL (vs BFS) | ||||||||
| O'Reach (vs BFS) | ||||||||
| H-BRICK (vs BFS) | ||||||||
| Relative vs O'Reach |

Figure 6. Mean query latency (lower is better) across orientation regimes V01–V06 for BFS, O'Reach, and H-BRICK (HBrickSkipLift at ) on four benchmark maps (, and ). Across these maps, H-BRICK stays in the microsecond range; its max-to-min mean latency is on and on .
Table 13. Direct batch comparison by orientation regime at . Entries are the median mean latency per pair over the eight maps, in nanoseconds (lower is better).
| V01 | V02 | V03 | V04 | V05 | V06 | |
|---|---|---|---|---|---|---|
| O'Reach | 3.0 | 3.6 | 6.9 | 11.3 | 10.6 | 472.7 |
| H-BRICK, | 709.1 | 715.1 | 444.2 | 404.3 | 315.7 | 265.1 |
| H-BRICK, | 273.6 | 166.7 | 140.4 | 89.9 | 61.6 | 68.7 |
| H-BRICK, | 144.6 | 95.1 | 63.6 | 61.0 | 45.0 | 49.8 |
| H-BRICK, | 81.4 | 54.3 | 41.7 | 35.5 | 26.5 | 34.6 |
| vs O'Reach |
8. Conclusions
This paper introduced a hierarchical boundary-compressed Kleene closure for exact directed reachability on grid-embedded graphs. By projecting regional closures onto perimeter ports and recursively composing interface summaries toward a root, H-BRICK replaces quadratic transitive closure with localized boundary relations algebraically equivalent to original closure projections, ensuring exact reachability queries without approximation error.
The empirical evaluation complements the algebraic exactness result: H-BRICK stores reusable boundary relations in a compositional spatial hierarchy, avoids materializing the global transitive closure, and maintains microsecond-scale mean query latency across the tested orientation regimes.
26 of 29
The observed per-map max-to-min mean-query-latency ratios across the eight benchmark maps range from 1.38× to 6.24×. At the selected () operating point, bit-packed dense transitive closure requires about 240× the H-BRICK index storage on the largest map. The hierarchy ablation confirmed the benefit of multi-level composition: at (), H-BRICK accelerates queries by 17.0× to 333.0× over single-level Flat BRICK, with modest preprocessing overhead and 1.03× to 1.61× index growth. Furthermore, batched evaluation demonstrated that sharing boundary lifts and interface projections yields 5.0×–22.9× throughput acceleration over scalar queries at across the full suite (resolving 4,096 pairs in under 2 ms), with zero reachability mismatches across the entire benchmark suite. The boundary projection and hierarchical composition depend only on the Kleene star of an idempotent semiring. The Boolean instance developed here decides reachability; the same scheme yields shortest paths in the tropical min-plus semiring and bottleneck objectives in a min-max semiring. Realizing those instances, together with natural terrains, 3D voxel grids, dynamic obstacle updates, and distance-bounded reachability, remains future work.
Author Contributions: Conceptualization and mathematical development, T.Ö. and E.A.Ö.; software and experiments, T.Ö.; writing, T.Ö., with review by E.A.Ö.; supervision, E.A.Ö. All authors have read and agreed to the published version of the manuscript.
Funding: This work was supported by the Scientific Research Projects Coordination Unit of Ankara Yıldırım Beyazit University under Multidisciplinary Research Project No. 3225.
Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.
Data Availability Statement: The H-BRICK C++20 implementation, benchmark harnesses, scripts, and reproduction recipes are available at https://github.com/ozaslan/hbrick (grid maps from Moving AI [61]).
Conflicts of Interest: The authors declare no conflicts of interest.
References
- Zhou, B.; Pan, J.; Gao, F.; Shen, S. RAPTOR: Robust and Perception-Aware Trajectory Replanning for Quadrotor Fast Flight. IEEE Transactions on Robotics 2021, 37, 1992–2009. https://doi.org/10.1109/TRO.2021.3071527.
- González-Sieira, A.; Cores, D.; Mucientes, M.; Bugarín, A. Autonomous Navigation for UAVs Managing Motion and Sensing Uncertainty. Robotics and Autonomous Systems 2020, 126, 103455. https://doi.org/10.1016/j.robot.2020.103455.
- Paden, B.; Cáp, M.; Yong, S.Z.; Yershov, D.; Frazzoli, E. A Survey of Motion Planning and Control Techniques for Self-Driving Urban Vehicles. IEEE Transactions on Intelligent Vehicles 2016, 1, 33–55. https://doi.org/10.1109/TIV.2016.2578706.
- Delling, D.; Goldberg, A.V.; Pajor, T.; Werneck, R.F. Customizable Route Planning in Road Networks. Transportation Science 2017, 51, 566–591. https://doi.org/10.1287/trsc.2014.0579.
- Wu, G.; Ding, Y.; Li, Y.; Bao, J.; Zheng, Y.; Luo, J. Mining Spatio-Temporal Reachable Regions over Massive Trajectory Data. In Proceedings of the 2017 IEEE 33rd International Conference on Data Engineering (ICDE), 2017, pp. 1283–1294. https://doi.org/10.1109/ICDE.2017.171.
- Sun, Z.; Wu, B.; Xu, C.Z.; Sarma, S.E.; Yang, J.; Kong, H. Frontier detection and reachability analysis for efficient 2D graph-SLAM based active exploration. In Proceedings of the 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 2020, pp. 2051–2058. https://doi.org/10.1109/IROS45743.2020.9341735.
- Sui, Y.; Xue, J. SVF: Interprocedural Static Value-Flow Analysis in LLVM. In Proceedings of the 25th International Conference on Compiler Construction, 2016, pp. 265–266. https://doi.org/10.1145/2892208.2892235.
- Shi, C.; Li, H.; Sui, Y.; Lu, J.; Li, L.; Xue, J. Pearl: A Multi-Derivation Approach to Efficient CFL-Reachability Solving. IEEE Transactions on Software Engineering 2024, 50, 2379–2397. https://doi.org/10.1109/TSE.2024.3437684.
- Hanauer, K.; Schulz, C.; Trummer, J. O'Reach: Even faster reachability in large graphs. In Proceedings of the 19th International Symposium on Experimental Algorithms. Schloss Dagstuhl – Leibniz-Zentrum für
27 of 29
Informatik, 2021, Vol. 190, Leibniz International Proceedings in Informatics, pp. 13:1–13:24. https://doi.org/10.4230/LIPics.SEA.2021.13.
-
Zhang, C.; Bonifati, A.; Özsu, M.T. Indexing techniques for graph reachability queries. ACM Computing Surveys 2025, 58, 1–35. https://doi.org/10.1145/3776737.
-
Jiang, Z.; Zhang, X.; Wang, P. Grid-Map-Based Path Planning and Task Assignment for Multi-Type AGVs in a Distribution Warehouse. Mathematics 2023, 11, 2802. https://doi.org/10.3390/math11132802.
-
Thrun, S.; Burgard, W.; Fox, D. Probabilistic Robotics; MIT Press: Cambridge, MA, 2005.
-
LaValle, S.M. Planning Algorithms; Cambridge University Press: Cambridge, UK, 2006. https://doi.org/10.01017/CBO9780511546877.
-
Stern, R.; Sturtevant, N.R.; Felner, A.; Koenig, S.; Ma, H.; Walker, T.; Li, J.; Atzmon, D.; Cohen, L.; Kumar, T.K.S.; et al. Multi-Agent Pathfinding: Definitions, Variants, and Benchmarks. In Proceedings of the Twelfth International Symposium on Combinatorial Search, 2019, pp. 151–158. https://doi.org/10.1609/socs.v10i1.18510.
-
Ma, H.; Li, J.; Kumar, T.K.S.; Koenig, S. Lifelong Multi-Agent Path Finding for Online Pickup and Delivery Tasks. In Proceedings of the 16th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2017, pp. 837–845.
-
Aakash., Saha, I. Optimal Makespan in a Minute Timespan! A Scalable Multi-Robot Goal Assignment Algorithm for Minimizing Mission Time. In Proceedings of the AAAI Conference on Artificial Intelligence, 2024, Vol. 38, pp. 10280–10287. https://doi.org/10.1609/aaai.v38i9.28894.
-
Warshall, S. A theorem on Boolean matrices. Journal of the ACM 1962, 9, 11–12. https://doi.org/10.1145/321105.321107.
-
Floyd, R.W. Algorithm 97: Shortest path. Communications of the ACM 1962, 5, 345. https://doi.org/10.1145/367766.368168.
-
Purdom, P. A transitive closure algorithm. BIT Numerical Mathematics 1970, 10, 76–94. https://doi.org/10.1007/BF01940892.
-
Tarjan, R.E. Depth-first search and linear graph algorithms. SIAM Journal on Computing 1972, 1, 146–160. https://doi.org/10.1137/0201010.
-
Kozen, D. Kleene algebra with tests. ACM Transactions on Programming Languages and Systems (TOPLAS) 1997, 19, 427–443. https://doi.org/10.1145/256167.256195.
-
Armstrong, A.; Struth, G.; Weber, T. Kleene algebra. Archive of Formal Proofs 2013. Formal proof development.
-
Guttmann, W.; Höfner, P. Relational characterisations of paths. Archive of Formal Proofs 2020. Formal proof development.
-
Rote, G. Path problems in graphs. In Computational graph theory; Tinhofer, G.; Mayr, E.; Noltemeier, H.; Syslo, M.M., Eds.; Springer: Vienna, 1990; Vol. 7, Computing Supplementum, pp. 155–189. https://doi.org/10.1007/978-3-7091-9076-0_9.
-
Mohri, M. Semiring Frameworks and Algorithms for Shortest-Distance Problems. Journal of Automata, Languages and Combinatorics 2002, 7, 321–350. https://doi.org/10.25596/jalc-2002-321.
-
Höfner, P.; Möller, B. Dijkstra, Floyd and warshall meet kleene. Formal Aspects of Computing 2012, 24, 459–476. https://doi.org/10.1007/s00165-012-0245-4.
-
Sergey, I.; Midtgaard, J.; Clarke, D. Calculating graph algorithms for dominance and shortest path. In Proceedings of the International Conference on Mathematics of Program Construction. Springer, 2012, pp. 132–156. https://doi.org/10.1007/978-3-642-31113-0_8.
-
Yu, J.X.; Cheng, J. Graph reachability queries: A survey. In Managing and Mining Graph Data; Springer, 2010; pp. 181–215. https://doi.org/10.1007/978-1-4419-6045-0_6.
-
Agrawal, R.; Borgida, A.; Jagadish, H.V. Efficient management of transitive relationships in large data and knowledge bases. In Proceedings of the 1989 ACM SIGMOD International Conference on Management of Data. ACM, 1989, pp. 253–262. https://doi.org/10.1145/67544.66950.
-
Cheng, J.; Yu, J.X.; Lin, X.; Wang, H.; Yu, P.S. Fast computation of reachability labeling for large graphs. In Proceedings of the Advances in Database Technology – EDBT 2006. Springer, 2006, Vol. 3896, Lecture Notes in Computer Science, pp. 961–979. https://doi.org/10.1007/11687238_56.
-
Cohen, E.; Halperin, E.; Kaplan, H.; Zwick, U. Reachability and distance queries via 2-hop labels. SIAM Journal on Computing 2003, 32, 1338–1355. https://doi.org/10.1137/S0097539702403098.
-
Yildirim, H.; Chaoji, V.; Zaki, M.J. GRAIL: Scalable reachability index for large graphs. Proceedings of the VLDB Endowment 2010, 3, 276–284. https://doi.org/10.14778/1920841.1920879.
28 of 29
- Jin, R.; Ruan, N.; Xiang, Y.; Wang, H. Path-tree: An efficient reachability indexing scheme for large directed graphs. ACM Transactions on Database Systems 2011, 36, 7:1–7:44. https://doi.org/10.1145/1929934.1929941.
- Zhang, C.; Bonifati, A.; Kapp, H.; Haprian, V.I.; Lozi, J.P. A reachability index for recursive label-concatenated graph queries. In Proceedings of the 2023 IEEE 39th International Conference on Data Engineering (ICDE). IEEE, 2023, pp. 67–81. https://doi.org/10.1109/ICDE55515.2023.00013.
- Arroyuelo, D.; Hogan, A.; Navarro, G.; Rojas-Ledesma, J. Time-and space-efficient regular path queries. In Proceedings of the 2022 IEEE 38th International Conference on Data Engineering (ICDE). IEEE, 2022, pp. 3091–3105. https://doi.org/10.1109/ICDE53745.2022.00277.
- Na, I.; Moon, Y.S.; Yi, I.; Whang, K.Y.; Hyun, S.J. Regular path query evaluation sharing a reduced transitive closure based on graph reduction. In Proceedings of the 2022 IEEE 38th International Conference on Data Engineering (ICDE). IEEE, 2022, pp. 1675–1686. https://doi.org/10.1109/ICDE53745.2022.00171.
- Liang, Q.; Ouyang, D.; Zhang, F.; Yang, J.; Lin, X.; Tian, Z. Efficient regular simple path queries under transitive restricted expressions. Proceedings of the VLDB Endowment 2024, 17, 1710–1722. https://doi.org/10.14778/3654621.3654636.
- Arroyuelo, D.; Gómez-Brandón, A.; Hogan, A.; Navarro, G.; Rojas-Ledesma, J. Optimizing RPQs over a compact graph representation. The VLDB Journal 2024, 33, 349–374. https://doi.org/10.1007/s00778-023-00811-2.
- Schenkel, R.; Theobald, A.; Weikum, G. HOPI: An efficient connection index for complex XML document collections. In Proceedings of the Advances in Database Technology – EDBT 2004. Springer, 2004, Vol. 2992, Lecture Notes in Computer Science, pp. 237–255. https://doi.org/10.1007/978-3-540-24741-8_15.
- Cheng, J.; Yu, J.X.; Lin, X.; Wang, H.; Yu, P.S. Fast computing reachability labelings for large graphs with high compression rate. In Proceedings of the 11th International Conference on Extending Database Technology (EDBT 2008). ACM, 2008, pp. 193–204. https://doi.org/10.1145/1353343.1353370.
- Jin, R.; Ruan, N.; Dey, S.; Yu, J.X. SCARAB: scaling reachability computation on large graphs. In Proceedings of the 2012 ACM SIGMOD International Conference on Management of Data. ACM, 2012, pp. 169–180. https://doi.org/10.1145/2213836.2213856.
- Gurajada, S.; Theobald, M. Distributed set reachability. In Proceedings of the 2016 ACM SIGMOD International Conference on Management of Data. ACM, 2016, pp. 1247–1261. https://doi.org/10.1145/2882903.2915226.
- Jain, R.; Tewari, R. On Solving Reachability in Grid Digraphs Using a Pseudoseparator. Theory of Computing 2023, 19, 1–23. https://doi.org/10.4086/toc.2023.v019a002.
- Chakraborty, D.; Tewari, R. An Space and Polynomial Time Algorithm for Reachability in Directed Layered Planar Graphs. ACM Transactions on Computation Theory 2017, 9, 19:1–19:11. https://doi.org/10.1145/3154857.
- Ashida, R.; Nakagawa, K. -Space Algorithm for the Grid Graph Reachability Problem. In Proceedings of the 34th International Symposium on Computational Geometry (SoCG 2018). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018, Vol. 99, Leibniz International Proceedings in Informatics (LIPIcs), pp. 5:1–5:13. https://doi.org/10.4230/LIPIcs.SoCG.2018.5.
- Fakcharoenphol, J.; Rao, S. Planar Graphs, Negative Weight Edges, Shortest Paths, and Near Linear Time. Journal of Computer and System Sciences 2006, 72, 868–889. https://doi.org/10.1016/j.jcss.2005.05.007.
- Tesfaye, B.; Augsten, N.; Pawlik, M.; Böhlen, M.H.; Jensen, C.S. Speeding up reachability queries in public transport networks using graph partitioning. Information Systems Frontiers 2022, 24, 11–29. https://doi.org/10.1007/s10796-021-10164-2.
- Botea, A.; Müller, M.; Schaeffer, J. Near optimal hierarchical path-finding. Journal of Game Development 2004, 1, 1–30.
- Thorup, M. Compact oracles for reachability and approximate distances in planar digraphs. Journal of the ACM 2004, 51, 993–1024. https://doi.org/10.1145/1039488.1039493.
- Holm, J.; Rotenberg, E.; Thorup, M. Planar reachability in linear space and constant time. In Proceedings of the 2015 IEEE 56th Annual Symposium on Foundations of Computer Science. IEEE, 2015, pp. 370–389. https://doi.org/10.1109/FOCS.2015.30.
- Jansen, M.R.; Buro, M. HPA* enhancements. In Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, 2007, Vol. 3, pp. 84–87. https://doi.org/10.1609/aiide.v3i1.18791.
- Geisberger, R.; Sanders, P.; Schultes, D.; Delling, D. Contraction hierarchies: Faster and simpler hierarchical routing in road networks. In Proceedings of the Experimental Algorithms. Springer, 2008, Vol. 5038, Lecture Notes in Computer Science, pp. 319–333. https://doi.org/10.1007/978-3-540-68552-4_24.
29 of 29
- Kepner, J.; Meyerhenke, H.; McMillan, S.; Yang, C.; Owens, J.D.; Zalewski, M.; Mattson, T.; Moreira, J.; Aaltonen, P.; Bader, D.; et al. Mathematical Foundations of the GraphBLAS. In Proceedings of the 2016 IEEE High Performance Extreme Computing Conference (HPEC). IEEE, 2016, pp. 1–9. https://doi.org/10.1109/HPEC.2016.7761646.
- Zhou, X.; Farouzi, A.; Bellatreche, L.; Ordonez, C. Bitwise algorithms to compute the transitive closure of graphs in Python. In Proceedings of the Database and Expert Systems Applications (DEXA 2023). Springer, 2023, Vol. 14146, Lecture Notes in Computer Science, pp. 345–351. https://doi.org/10.1007/978-3-031-39847-6_27.
- Patel, S.M. Accelerating Transitive Closure of Large-Scale Sparse Graphs. Thesis, New Jersey Institute of Technology, 2020.
- Krivulin, N. Algebraic Solution to Constrained Bi-Criteria Decision Problem of Rating Alternatives through Pairwise Comparisons. Mathematics 2021, 9, 303. https://doi.org/10.3390/math9040303.
- Deng, W.; Yu, B. Transitive Closure Preservers for Matrices over a Class of Semirings. Mathematics 2026, 14, 1315. https://doi.org/10.3390/math14081315.
- Arlazarov, V.L.; Dinic, E.A.; Kronrod, M.A.; Faradžev, I.A. On economical construction of the transitive closure of an oriented graph. Doklady Akademii Nauk SSSR 1970, 194, 487–488.
- Albrecht, M.; Bard, G.; Hart, W. Algorithm 898: Efficient Multiplication of Dense Matrices over GF(2). ACM Transactions on Mathematical Software 2010, 37, 9:1–9:14. https://doi.org/10.1145/1644001.1644010.
- Aho, A.V.; Hopcroft, J.E.; Ullman, J.D. The Design and Analysis of Computer Algorithms; Addison-Wesley: Reading, MA, USA, 1974.
- Sturtevant, N.R. Benchmarks for Grid-Based Pathfinding. IEEE Transactions on Computational Intelligence and AI in Games 2012, 4, 144–148. https://doi.org/10.1109/TCIAIG.2012.2197681.
Disclaimer/Publisher's Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.