کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
437168 | 690086 | 2006 | 28 صفحه PDF | دانلود رایگان |

We present a simple, arithmetic-free, efficient scheme to compress trees maintaining the NCA information. We use this compression scheme to provide an solution for solving the NCA problem on Pure Pointer Machines (PPMs)—i.e., pointer machines with no arithmetic capabilities—in both the static and dynamic case, where n is the number of add-leaf/delete operations and q is the number of NCA queries. This solution is optimal. We also extend the solution to a parallel pointer machine algorithm. The algorithm assumes that the tree T is known in advance and it requires parallel time and O(n) processors for pre-processing where n is the number of nodes in the tree. Thereafter, it can answer any NCA query in time using a single processor. To our knowledge, this is the best known parallel pointer machine algorithm for the NCA problem. Our NCA algorithm requires an efficient parallel solution of the temporal precedence problem [Ranjan et al., The temporal precedence problem, Algorithmica 28 (2000) 288–306]. We provide an efficient parallel pointer machine algorithm to solve this problem as well.
Journal: Theoretical Computer Science - Volume 352, Issues 1–3, 7 March 2006, Pages 108-135