On Linear Solution of "Cherry Pickup II". Max Weight of Two Disjoint Paths in Node-Weighted Gridlike DAG

03/16/2021
by   Igor N. Tunev, et al.
0

"Minimum Falling Path Sum" (MFPS) is classic question in programming - "Given a grid of size N×N with integers in cells, return the minimum sum of a falling path through grid. A falling path starts at any cell in the first row and ends in last row, with the rule of motion - the next element after the cell (i,j) is one of the cells (i+1,j-1),(i+1,j) and (i+1,j+1)". This problem has linear solution (LS) (i.e. O(N^2)) using dynamic programming method (DPM). There is an Multi-Agent version of MFPS called "Cherry Pickup II" (CP2). CP2 is a search for the maximum sum of 2 falling paths started from top corners, where each covered cell summed up one time. All known fast solutions of CP2 uses DPM, but have O(N^3) time complexity on grid N×N. Here we offer a LS of CP2 (also using DPM) as finding maximum total weight of 2 vertex-disjoint paths. Also, we extend this LS for some extended version of CP2 with wider motion rules.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/30/2020

Fort Formation by an Automaton

Building structures by low capability robots is a very recent research d...
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
07/24/2023

Shortest two disjoint paths in conservative graphs

We consider the following problem that we call the Shortest Two Disjoint...
research
01/21/2021

A Fast Optimal Double Row Legalization Algorithm

In Placement Legalization, it is often assumed that (almost) all standar...
research
03/01/2023

Coordination of Multiple Robots along Given Paths with Bounded Junction Complexity

We study a fundamental NP-hard motion coordination problem for multi-rob...
research
11/11/2021

Winning Solution of the AIcrowd SBB Flatland Challenge 2019-2020

This report describes the main ideas of the solution which won the AIcro...
research
05/13/2020

An improved solution approach for the Budget constrained Fuel Treatment Scheduling problem

This paper considers the budget constrained fuel treatment scheduling (B...

Please sign up or login with your details

Forgot password? Click here to reset