Optimal Physical Sorting of Mobile Agents

11/11/2021
by   Dmitry Rabinovich, et al.
0

Given a collection of red and blue mobile agents located on two grid rows, we seek to move all the blue agents to the far left side and all the red agents to the far right side, thus physically sorting them according to color. The agents all start on the bottom row. They move simultaneously at discrete time steps and must not collide. Our goal is to design a centralized algorithm that controls the agents so as to sort them in the least number of time steps. We derive an exact lower bound on the amount of time any algorithm requires to sort a given initial configuration of agents. We find an instance optimal algorithm that provably matches this lower bound, attaining the best possible sorting time for any initial configuration. Surprisingly, we find that whenever the leftmost agent is red and the rightmost agent is blue, a straightforward decentralized and local sensing-based algorithm is at most 1 time step slower than the centralized instance-optimal algorithm.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/19/2022

Lower bound on the running time of Pop-Stack Sorting on a random permutation

Pop-Stack Sorting is an algorithm that takes a permutation as an input a...
research
01/16/2019

Multi-Agent Pathfinding (MAPF) with Continuous Time

MAPF is the problem of finding paths for multiple agents such that every...
research
03/10/2022

Deterministic Rendezvous in Infinite Trees

The rendezvous task calls for two mobile agents, starting from different...
research
05/21/2019

Distributed Pattern Formation in a Ring

Motivated by concerns about diversity in social networks, we consider th...
research
05/14/2018

Quadratic Time Algorithms Appear to be Optimal for Sorting Evolving Data

We empirically study sorting in the evolving data model. In this model, ...
research
07/07/2022

On Geometric Shape Construction via Growth Operations

In this work, we investigate novel algorithmic growth processes. In part...
research
08/05/2020

Pricing group membership

We consider a model where agents differ in their `types' which determine...

Please sign up or login with your details

Forgot password? Click here to reset