首页 | 本学科首页   官方微博 | 高级检索  
     


Efficient pebbling for list traversal synopses with application to program rollback
Authors:Yossi Matias  Ely Porat
Affiliation:1. School of Computer Science, Tel Aviv University and Google Inc, Tel Aviv, Israel;2. Department of Mathematics and Computer Science, Bar-Ilan University, 52900 Ramat-Gan, Israel
Abstract:We show how to support efficient back traversal in a unidirectional list, using small memory and with essentially no slowdown in forward steps. Using O(lgn)O(lgn) memory for a list of size nn, the ii’th back-step from the farthest point reached so far takes O(lgi)O(lgi) time in the worst case, while the overhead per forward step is at most ?? for arbitrary small constant ?>0?>0. An arbitrary sequence of forward and back steps is allowed. A full trade-off between memory usage and time per back-step is presented: kk vs. kn1/kkn1/k and vice versa. Our algorithms are based on a novel pebbling technique which moves pebbles on a virtual binary, or n1/kn1/k-ary, tree that can only be traversed in a pre-order fashion.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号