Online Tree Node Assignment with Resource Augmentation

  • Authors:
  • Joseph Wun-Tat Chan;Francis Y. Chin;Hing-Fung Ting;Yong Zhang

  • Affiliations:
  • Department of Computer Science, King's College London, London, UK;Department of Computer Science, The University of Hong Kong, Hong Kong,;Department of Computer Science, The University of Hong Kong, Hong Kong,;Department of Computer Science, The University of Hong Kong, Hong Kong,

  • Venue:
  • COCOON '09 Proceedings of the 15th Annual International Conference on Computing and Combinatorics
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Given a complete binary tree of height h , the online tree node assignment problem is to serve a sequence of assignment/release requests, where an assignment request , with an integer parameter 0 ≤ i ≤ h , is served by assigning a (tree) node at level (or height) i and a release request is served by releasing a specified assigned node. The node assignments have to guarantee that no node is assigned to two assignment requests unreleased, and every leaf-to-root path of the tree contains at most one assigned node. With assigned node reassignments allowed, the target of the problem is to minimize the number of assignments/reassigments, i.e., the cost, to serve the whole sequence of requests. This online tree node assignment problem is fundamental to many applications, including OVSF code assignment in WCDMA networks, buddy memory allocation and hypercube subcube allocation. Most of the previous results focus on how to achieve good performance when the same amount of resource is given to both the online and the optimal offline algorithms, i.e., one tree. In this paper, we focus on resource augmentation, where the online algorithm is allowed to use more trees than the optimal offline algorithm. By using different approaches, we give (1) a 1-competitive online algorithm, which uses (h + 1)/2 trees, and is optimal because (h + 1)/2 trees are required by any online algorithm to match the cost of the optimal offline algorithm with one tree; (2) a 2-competitive algorithm with 3h /8 + 2 trees; (3) an amortized (4/3 + *** )-competitive algorithm with (11/4 + 4/(3*** )) trees, for any *** where 0 *** ≤ 4/3.