{"title":"已知删除顺序的完全动态到增量的缩减(例如滑动窗口)","authors":"Binghui Peng, A. Rubinstein","doi":"10.48550/arXiv.2211.05178","DOIUrl":null,"url":null,"abstract":"Dynamic algorithms come in three main flavors: $\\mathit{incremental}$ (insertions-only), $\\mathit{decremental}$ (deletions-only), or $\\mathit{fully}$ $\\mathit{dynamic}$ (both insertions and deletions). Fully dynamic is the holy grail of dynamic algorithm design; it is obviously more general than the other two, but is it strictly harder? Several works managed to reduce fully dynamic to the incremental or decremental models by taking advantage of either specific structure of the incremental/decremental algorithms (e.g. [HK99, HLT01, BKS12, ADKKP16, BS80, OL81, OvL81]), or specific order of insertions/deletions (e.g. [AW14,HKNS15,KPP16]). Our goal in this work is to get a black-box fully-to-incremental reduction that is as general as possible. We find that the following conditions are necessary: $\\bullet$ The incremental algorithm must have a worst-case (rather than amortized) running time guarantee. $\\bullet$ The reduction must work in what we call the $\\mathit{deletions}$-$\\mathit{look}$-$\\mathit{ahead}$ $\\mathit{model}$, where the order of deletions among current elements is known in advance. A notable practical example is the\"sliding window\"(FIFO) order of updates. Under those conditions, we design: $\\bullet$ A simple, practical, amortized-fully-dynamic to worst-case-incremental reduction with a $\\log(T)$-factor overhead on the running time, where $T$ is the total number of updates. $\\bullet$ A theoretical worst-case-fully-dynamic to worst-case-incremental reduction with a $\\mathsf{polylog}(T)$-factor overhead on the running time.","PeriodicalId":93491,"journal":{"name":"Proceedings of the SIAM Symposium on Simplicity in Algorithms (SOSA)","volume":"42 1","pages":"261-271"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Fully-dynamic-to-incremental reductions with known deletion order (e.g. sliding window)\",\"authors\":\"Binghui Peng, A. Rubinstein\",\"doi\":\"10.48550/arXiv.2211.05178\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Dynamic algorithms come in three main flavors: $\\\\mathit{incremental}$ (insertions-only), $\\\\mathit{decremental}$ (deletions-only), or $\\\\mathit{fully}$ $\\\\mathit{dynamic}$ (both insertions and deletions). Fully dynamic is the holy grail of dynamic algorithm design; it is obviously more general than the other two, but is it strictly harder? Several works managed to reduce fully dynamic to the incremental or decremental models by taking advantage of either specific structure of the incremental/decremental algorithms (e.g. [HK99, HLT01, BKS12, ADKKP16, BS80, OL81, OvL81]), or specific order of insertions/deletions (e.g. [AW14,HKNS15,KPP16]). Our goal in this work is to get a black-box fully-to-incremental reduction that is as general as possible. We find that the following conditions are necessary: $\\\\bullet$ The incremental algorithm must have a worst-case (rather than amortized) running time guarantee. $\\\\bullet$ The reduction must work in what we call the $\\\\mathit{deletions}$-$\\\\mathit{look}$-$\\\\mathit{ahead}$ $\\\\mathit{model}$, where the order of deletions among current elements is known in advance. A notable practical example is the\\\"sliding window\\\"(FIFO) order of updates. Under those conditions, we design: $\\\\bullet$ A simple, practical, amortized-fully-dynamic to worst-case-incremental reduction with a $\\\\log(T)$-factor overhead on the running time, where $T$ is the total number of updates. $\\\\bullet$ A theoretical worst-case-fully-dynamic to worst-case-incremental reduction with a $\\\\mathsf{polylog}(T)$-factor overhead on the running time.\",\"PeriodicalId\":93491,\"journal\":{\"name\":\"Proceedings of the SIAM Symposium on Simplicity in Algorithms (SOSA)\",\"volume\":\"42 1\",\"pages\":\"261-271\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-11-09\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the SIAM Symposium on Simplicity in Algorithms (SOSA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.48550/arXiv.2211.05178\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the SIAM Symposium on Simplicity in Algorithms (SOSA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2211.05178","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Fully-dynamic-to-incremental reductions with known deletion order (e.g. sliding window)
Dynamic algorithms come in three main flavors: $\mathit{incremental}$ (insertions-only), $\mathit{decremental}$ (deletions-only), or $\mathit{fully}$ $\mathit{dynamic}$ (both insertions and deletions). Fully dynamic is the holy grail of dynamic algorithm design; it is obviously more general than the other two, but is it strictly harder? Several works managed to reduce fully dynamic to the incremental or decremental models by taking advantage of either specific structure of the incremental/decremental algorithms (e.g. [HK99, HLT01, BKS12, ADKKP16, BS80, OL81, OvL81]), or specific order of insertions/deletions (e.g. [AW14,HKNS15,KPP16]). Our goal in this work is to get a black-box fully-to-incremental reduction that is as general as possible. We find that the following conditions are necessary: $\bullet$ The incremental algorithm must have a worst-case (rather than amortized) running time guarantee. $\bullet$ The reduction must work in what we call the $\mathit{deletions}$-$\mathit{look}$-$\mathit{ahead}$ $\mathit{model}$, where the order of deletions among current elements is known in advance. A notable practical example is the"sliding window"(FIFO) order of updates. Under those conditions, we design: $\bullet$ A simple, practical, amortized-fully-dynamic to worst-case-incremental reduction with a $\log(T)$-factor overhead on the running time, where $T$ is the total number of updates. $\bullet$ A theoretical worst-case-fully-dynamic to worst-case-incremental reduction with a $\mathsf{polylog}(T)$-factor overhead on the running time.