arXiv:2611.08139cs.RONov 2026

Manuscript Offprint

arXiv:2611.08139

H-TRIP: Exact Many-to-Many Distance Index for Multi-Robot Exploration

Elif A. Özaslan, Tolga Özaslan

Elif Altunay Özaslan

Department of Mathematics

Kastamonu University, Kastamonu, Türkiye

eaozaslan@kastamonu.edu.tr

Tolga Özaslan

Department of Computer Engineering

Ankara Yıldırım Beyazıt University, Ankara, Türkiye

tozaslan@aybu.edu.tr

Abstract—Frontier-based exploration systems repeatedly evaluate geodesic travel costs between robot poses and candidate viewpoints, and tour-based planners consume the full pairwise distance matrix built from them. Recomputing these matrices with one graph search per source scales with the explored map size, whereas distance caches that refresh only locally affected or newly created frontiers can retain stale costs between surviving pairs when newly discovered free space creates a global shortcut. We present H-TRIP (Hierarchical Tropical Rank-one Incremental Propagation), an exact distance index grounded in Kleene algebra over the min-plus semiring for monotonically growing occupancy grids. H-TRIP partitions the known map into a spatial hierarchy with fixed boundary ports. Each unknown-to-free revelation is decomposed into efficient rank-one min-plus edge insertions at the affected leaf, and only decreased port-to-port summaries are propagated along its ancestor chain. A shared hierarchical lift evaluates the dense many-to-many matrix of shortest distances for all active query points on the occupancy map. We prove that sequential insertions preserve exact shortest-path distances on the grid. Benchmark experiments confirm exact agreement with reference searches on fully built maps and show that dense many-to-many queries at a few dozen viewpoints are up to two orders of magnitude faster than sequential k×k \timesBFS. On exploration runs with sixteen robots, in-loop queries on the growing occupancy graph are 2.21×−8.59×2.21 \times -8.59 \times faster than co-scheduled k×k \timesBFS on maps with side 256, 512, and 1024 cells.

Index Terms—Multi-robot exploration, APSP, distance indexes, min-plus algebra, occupancy grids.

I. INTRODUCTION

Autonomous exploration is foundational in search and rescue, inspection, and reconnaissance. Mobile robot teams iteratively map free space, extract candidate frontier viewpoints, and coordinate assignments using travel cost, information gain, or both [1]. Tour-based planners repeatedly evaluate pairwise travel costs among candidate goals using geodesic distance as their spatial backbone, which can be combined with planner-specific kinematic or utility terms [2], [3], [4]. These geodesics are shortest paths on the free-space graph Gτ=(Vτ,Eτ)G_{\tau} = (V_{\tau}, E_{\tau}) of an occupancy representation or an exploration roadmap. Under undirected traversal the geodesic distance matrix is symmetric, so filling D∈R‾k×kD \in \overline{\mathbb{R}}^{k \times k} among kk robot poses and candidate viewpoints with the k(k−1)/2k(k-1)/2 distinct pairwise distances of GτG_{\tau} requires substantial

Figure

Fig. 1. We tested H-TRIP in simulation, where lidar-equipped robot teams of different sizes explored occupancy grids of different side lengths. The panels show three representative frames from these runs. The yellow lattice is the leaf-tile partition, cyan markers are active frontiers, and colored polylines are assigned open tours.

computational effort as maps and candidate sets grow.

As sensors reveal free space, the traversable graph GτG_{\tau} grows monotonically. Recomputing D from scratch with one graph search per source scales with both k and ∣Vτ∣|V_{\tau}|, and competes with the planning cycle. Newly revealed free cells can complete a doorway or corridor that shortens the true geodesic between two persisting viewpoints, making a previously cached distance stale. The challenge is to keep the geodesic distance matrix D exact without recomputing shortest paths over the full graph after every occupancy-map update. We therefore ask how a multi-robot system can maintain exact all-pairs geodesic distances among surviving viewpoints under online monotonic map growth while keeping many-to-many queries within a planning-cycle budget.

We present H-TRIP (Hierarchical Tropical Rank-one Incremental Propagation), an exact hierarchical distance index grounded in Kleene algebra over the min-plus semiring [5], [6] that maintains pairwise geodesic distances as occupancy grows and answers many-to-many queries for assignment and tour planners on online occupancy grids. H-TRIP organizes the workspace into a balanced spatial hierarchy over fixed leaf tiles whose boundary-port sets remain fixed throughout exploration. Sensor measurements that reveal previously unknown cells as free insert local edges in GτG_{\tau}, including newly passable cross-tile seams, and only decreased boundary-distance summaries propagate upward along the affected ancestor chain.

H-TRIP builds this hierarchy so that many-to-many geodesic distances can be evaluated by lifting each of the k viewpoints all at once onto the boundary ports of their ancestor tiles and resolving pairwise distances as tropical products against stored boundary metrics. H-TRIP realizes its query advantage by amortizing each hierarchical lift across

This work has been supported by Ankara Yıldırım Beyazıt University Scientific Research Projects Coordination Unit under Multidisciplinary Research Project No. 3225. The source code is available at https://github.com/ozaslan/htrip.

the entire k×kk \times k matrix. An isolated pair lookup pays that lift without sharing it, so batched many-to-many evaluation is the regime that reuses the work. Hence H-TRIP can serve as a metric backend for multi-robot assignment and tour planners that require geodesic distance.

In simulation, H-TRIP consistently preserved exact geodesic distances while reducing the cost of repeated many-to-many evaluation relative to conventional graph-search baselines. The advantage was most pronounced when multiple robot poses and frontier viewpoints were queried together, allowing hierarchical computations to be shared across the complete distance matrix.

The main contributions of this paper are: (i) an exact hierarchical distance index for monotonically growing occupancy grids based on fixed geometric interfaces and min-plus closure; (ii) a localized insertion-only maintenance procedure based on rank-one min-plus updates, with exactness established by Lemma 1 and Theorem 1; and (iii) a batched hierarchical query that recovers the complete k×kk \times k geodesic distance matrix, with exactness established by Theorem 2.