Improvements in Sub-optimal Solving of the (N^2-1)-Puzzle via Joint Relocation of Pebbles and its Applications to Rule-based Cooperative Path-Finding

10/17/2016
by   Pavel Surynek, et al.
0

The problem of solving (n^2-1)-puzzle and cooperative path-finding (CPF) sub-optimally by rule based algorithms is addressed in this manuscript. The task in the puzzle is to rearrange n^2-1 pebbles on the square grid of the size of n x n using one vacant position to a desired goal configuration. An improvement to the existent polynomial-time algorithm is proposed and experimentally analyzed. The improved algorithm is trying to move pebbles in a more efficient way than the original algorithm by grouping them into so-called snakes and moving them jointly within the snake. An experimental evaluation showed that the algorithm using snakes produces solutions that are 8 shorter than solutions generated by the original algorithm. The snake-based relocation has been also integrated into rule-based algorithms for solving the CPF problem sub-optimally, which is a closely related task. The task in CPF is to relocate a group of abstract robots that move over an undirected graph to given goal vertices. Robots can move to unoccupied neighboring vertices and at most one robot can be placed in each vertex. The (n^2-1)-puzzle is a special case of CPF where the underlying graph is represented by a 4-connected grid and there is only one vacant vertex. Two major rule-based algorithms for CPF were included in our study - BIBOX and PUSH-and-SWAP (PUSH-and-ROTATE). Improvements gained by using snakes in the BIBOX algorithm were stable around 30 50 multiple vacant vertices. In the case of the PUSH-and-SWAP algorithm the improvement achieved by snakes was around 5 was unstable and hardly predictable in the case of PUSH-and-SWAP.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/25/2018

Finding Optimal Solutions to Token Swapping by Conflict-based Search and Reduction to SAT

We study practical approaches to solving the token swapping (TSWAP) prob...
research
07/15/2022

Fixed-Parameter Tractability of Maximum Colored Path and Beyond

We introduce a general method for obtaining fixed-parameter algorithms f...
research
02/28/2022

Hierarchical Policy Learning for Mechanical Search

Retrieving objects from clutters is a complex task, which requires multi...
research
04/03/2020

A rigorous method to compare interpretability of rule-based algorithms

Interpretability is becoming increasingly important in predictive model ...
research
10/18/2016

Makespan Optimal Solving of Cooperative Path-Finding via Reductions to Propositional Satisfiability

The problem of makespan optimal solving of cooperative path finding (CPF...
research
09/16/2019

Three-in-a-Tree in Near Linear Time

The three-in-a-tree problem is to determine if a simple undirected graph...
research
02/07/2023

Two Parallel PageRank Algorithms via Improving Forward Push

Initially used to rank web pages, PageRank has now been applied in many ...

Please sign up or login with your details

Forgot password? Click here to reset