How to Sort by Walking and Swapping on Paths and Trees

How to Sort by Walking and Swapping on Paths and Trees

0.00 Avg rating0 Votes
Article ID: iaor20173036
Volume: 78
Issue: 4
Start Page Number: 1151
End Page Number: 1181
Publication Date: Aug 2017
Journal: Algorithmica
Authors:
Keywords: combinatorial optimization, graphs, heuristics
Abstract:

Consider a graph G with n vertices. On each vertex we place a box. The n vertices and n boxes are each numbered from 1 to n, and initially shuffled according to a permutation π equ1 . A single robot is given the task to sort these boxes. In every step, the robot can walk along an edge of the graph and can carry at most one box at a time. At a vertex, it may swap the box placed there with the box it is carrying. How many steps does the robot need to sort all the boxes? We present efficient algorithms that construct such a shortest sorting walk if G is a path or a tree, and we show that the problem is NP equ2 ‐complete for planar graphs. If we minimize the number of swaps in addition to the number of walking steps, it is NP equ3 ‐complete even if G is a tree.

Reviews

Required fields are marked *. Your email address will not be published.