Abstract
This paper bridges the gap between spatial resource allocation and queueing theory by demonstrating that assigning users to servers on a one-dimensional (1D) line is mathematically equivalent to customers waiting in a bulk-service queue. We introduce the "Move to Right" (MTR) policy for unidirectional allocation and an optimized dynamic programming (DP) algorithm for bidirectional scenarios. Our analysis provides closed-form expressions for average request distances and demonstrates significant reductions in computational complexity compared to traditional matching algorithms.
Introduction
In modern distributed systems such as the Internet of Things (IoT), ride-sharing platforms, and vehicular ad-hoc networks, resources (servers or vehicles) and users are distributed across physical space. A fundamental challenge in these systems is capacitated assignment: matching users to nearby servers without exceeding server capacity while minimizing the average request distance.
While general solutions like the Hungarian algorithm exist, they are often computationally prohibitive for large-scale real-time applications. This research focuses on 1D topologies—representative of linear structures like highways or rivers—where the geometric constraints allow for highly efficient algorithms and sophisticated mathematical modeling through queueing theory.
Methodology
Unidirectional Allocation and Queueing Duality
In scenarios where resources can only serve users located in one direction (e.g., a vehicle picking up passengers it has not yet passed), the authors propose the Move to Right (MTR) policy. This policy scans the 1D line from left to right, assigning the nearest available resource to each requester.
A core contribution of this work is the discovery of a spatial-temporal duality. The authors prove that the spatial distance between a user and a server in a 1D network is stochastically equivalent to the sojourn time (waiting plus service time) in an Exceptional Service with Accessible Batches Queueing (ESABQ) system. In this mapping, inter-user distances correspond to inter-arrival times, and inter-server distances correspond to service times.
Bidirectional Allocation and Optimization
For bidirectional scenarios where no directional restrictions exist, the paper introduces an optimal DP algorithm. This algorithm is specifically designed for cases where the number of servers ($|S|$) exceeds the number of requesters ($|R|$). By leveraging the "Uncrossing" Principle—which states that optimal 1D assignment paths never cross—the algorithm achieves a time complexity of $O(|R|(|S| - |R| + 1))$, significantly outperforming standard $O(n^3)$ matching methods.
Extension to 2D Networks
To address real-world 2D environments, the authors employ Locally Linear Embedding (LLE) to flatten 2D coordinates onto a 1D line. This heuristic preserves local neighborhood structures, allowing the efficient 1D DP algorithm to be applied to complex spatial distributions.
Key Results and Analysis
Mathematical Formulations
By applying queueing theory results to the spatial domain, the authors derived exact closed-form formulas for the expected request distance under various point process distributions, including Exponential, Uniform, and Deterministic models.
Performance and Fairness
- Computational Efficiency: The proposed DP algorithm provides a scalable solution for large networks, maintaining optimality while reducing the processing overhead compared to the Hungarian algorithm.
- Fairness: Comparisons between MTR and the Unidirectional Gale-Shapley (UGS) policy reveal that while both yield the same average distance, MTR produces a lower variance. This makes MTR a "fairer" policy for users, as individual travel distances are more consistent.
- 2D Approximation: The LLE-based heuristic for 2D scenarios achieves an average request distance within approximately a factor of 2 of the true optimal solution, but with a much lower $O(n^2)$ complexity.
Conclusion
This research establishes a powerful link between spatial networking and queueing theory, enabling the use of established temporal models to solve complex spatial optimization problems. Future work will focus on extending these models to dynamic environments where users and servers move continuously, and integrating more complex communication cost models such as network interference.
Summary updated