English

Expected Cost of Greedy Online Facility Assignment on Regular Polygons (v3)

Data Structures and Algorithms 2026-02-03 v3

Abstract

We study a greedy online facility assignment process on a regular nn-gon, where unit-capacity facilities occupy the vertices and customers arrive sequentially at uniformly random locations on polygon edges. Each arrival is irrevocably assigned to the nearest currently free facility under the shortest edge-walk metric, with uniform tie-breaking among equidistant choices. Our main theoretical result is an exact value-function characterization: for every occupancy state SVS\subseteq V, the expected remaining cost V(S)V(S) satisfies a finite-horizon integral recurrence obtained by conditioning on the random arrival edge and position. To make this recurrence computationally effective, we exploit dihedral symmetry of the regular polygon and show that V(S)V(S) is invariant under rotations and reflections, enabling canonicalization and symmetry-reduced dynamic programming. For small nn, we evaluate the recurrence accurately using deterministic numerical integration over piecewise-linear distance regions,; for larger nn, we estimate the expected total cost via direct Monte Carlo simulation of the online process and report 95%95\% confidence intervals. Our computations validate the recurrence (including a closed-form check for the square, n=4n=4) and indicate that the total expected cost increases with nn, while the per-customer expected travel distance grows gradually as remaining free vertices become farther on average. \keywords{Online algorithms \and Facility assignment \and Expected cost \and Regular polygons \and Symmetry reduction \and Monte Carlo}

Cite

@article{arxiv.2512.00506,
  title  = {Expected Cost of Greedy Online Facility Assignment on Regular Polygons (v3)},
  author = {Md. Rawha Siddiqi Riad and Md. Tanzeem Rahat and Md. Manzurul Hasan},
  journal= {arXiv preprint arXiv:2512.00506},
  year   = {2026}
}
R2 v1 2026-07-01T08:00:53.538Z