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, The University of Hong Kong, Hong Kong, Hong Kong;Department of Computer Science, The University of Hong Kong, Hong Kong, Hong Kong;Department of Computer Science, The University of Hong Kong, Hong Kong, Hong Kong;Department of Computer Science, The University of Hong Kong, Hong Kong, Hong Kong and College of Mathematics and Computer Science, Hebei University, Baoding, China

  • Venue:
  • Journal of Combinatorial Optimization
  • Year:
  • 2011

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 of 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/reassignments, 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 8/3-competitive algorithm with 11/4 trees; (4) a general amortized (4/3+驴)-competitive algorithm with (11/4+4/(3驴)) trees, for 0驴驴4/3.