How Fast Can We Play Tetris Greedily With Rectangular Pieces?

Justin Dallant, J. Iacono
{"title":"How Fast Can We Play Tetris Greedily With Rectangular Pieces?","authors":"Justin Dallant, J. Iacono","doi":"10.4230/LIPIcs.FUN.2022.13","DOIUrl":null,"url":null,"abstract":"Consider a variant of Tetris played on a board of width w and infinite height, where the pieces are axis-aligned rectangles of arbitrary integer dimensions, the pieces can only be moved before letting them drop, and a row does not disappear once it is full. Suppose we want to follow a greedy strategy: let each rectangle fall where it will end up the lowest given the current state of the board. To do so, we want a data structure which can always suggest a greedy move. In other words, we want a data structure which maintains a set of O ( n ) rectangles, supports queries which return where to drop the rectangle, and updates which insert a rectangle dropped at a certain position and return the height of the highest point in the updated set of rectangles. We show via a reduction from the Multiphase problem [Pătraşcu, 2010] that on a board of width w = Θ( n ), if the OMv conjecture [Henzinger et al., 2015] is true, then both operations cannot be supported in time O ( n 1 / 2 − (cid:15) ) simultaneously. The reduction also implies polynomial bounds from the 3-SUM conjecture and the APSP conjecture. On the other hand, we show that there is a data structure supporting both operations in O ( n 1 / 2 log 3 / 2 n ) time on boards of width n O (1) , matching the lower bound up to an n o (1) factor.","PeriodicalId":293763,"journal":{"name":"Fun with Algorithms","volume":"45 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-02-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Fun with Algorithms","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.FUN.2022.13","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Consider a variant of Tetris played on a board of width w and infinite height, where the pieces are axis-aligned rectangles of arbitrary integer dimensions, the pieces can only be moved before letting them drop, and a row does not disappear once it is full. Suppose we want to follow a greedy strategy: let each rectangle fall where it will end up the lowest given the current state of the board. To do so, we want a data structure which can always suggest a greedy move. In other words, we want a data structure which maintains a set of O ( n ) rectangles, supports queries which return where to drop the rectangle, and updates which insert a rectangle dropped at a certain position and return the height of the highest point in the updated set of rectangles. We show via a reduction from the Multiphase problem [Pătraşcu, 2010] that on a board of width w = Θ( n ), if the OMv conjecture [Henzinger et al., 2015] is true, then both operations cannot be supported in time O ( n 1 / 2 − (cid:15) ) simultaneously. The reduction also implies polynomial bounds from the 3-SUM conjecture and the APSP conjecture. On the other hand, we show that there is a data structure supporting both operations in O ( n 1 / 2 log 3 / 2 n ) time on boards of width n O (1) , matching the lower bound up to an n o (1) factor.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用矩形方块玩《俄罗斯方块》有多快?
考虑在宽度为w,高度无限的棋盘上玩俄罗斯方块的变体,其中棋子是任意整数尺寸的轴对齐矩形,棋子只能在让它们掉落之前移动,并且一行不会在满了之后消失。假设我们想要遵循贪婪策略:让每个矩形落在给定棋盘当前状态的最低位置。要做到这一点,我们需要一个总是可以提示贪心移动的数据结构。换句话说,我们想要一个数据结构,它维护一个由O (n)个矩形组成的集合,支持返回放置矩形的位置的查询,支持插入放置在某个位置的矩形并返回更新后的矩形集合中最高点的高度的更新。我们通过对多相问题[pourtra, 2010]的简化表明,在宽度为w = Θ(n)的板上,如果OMv猜想[Henzinger et al., 2015]为真,则两个操作不能同时在时间O (n 1 / 2−(cid:15))内得到支持。该约简还暗示了3-SUM猜想和APSP猜想的多项式界。另一方面,我们证明了在宽度为n O(1)的板上,有一种数据结构支持在O (n 1 / 2 log 3 / 2 n)时间内完成这两种操作,将下界匹配到n O(1)个因子。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Coordinating "7 Billion Humans" Is Hard Chess is hard even for a single player How Fast Can We Play Tetris Greedily With Rectangular Pieces? Cooperating in Video Games? Impossible! Undecidability of Team Multiplayer Games Card-Based ZKP Protocols for Takuzu and Juosan
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1