MANIPULATING MULTIPLE STACKS WITH ORDERED-HEAP

Citation
Bc. Chien et al., MANIPULATING MULTIPLE STACKS WITH ORDERED-HEAP, Information sciences, 72(3), 1993, pp. 207-224
Citations number
8
Categorie Soggetti
Information Science & Library Science","Computer Applications & Cybernetics
Journal title
ISSN journal
00200255
Volume
72
Issue
3
Year of publication
1993
Pages
207 - 224
Database
ISI
SICI code
0020-0255(1993)72:3<207:MMSWO>2.0.ZU;2-W
Abstract
A new method for manipulating multiple stacks based on dynamic data st ructure is proposed in this paper. A simple data structure called orde red-heap is developed, in which nodes are preserved as a heap, and kep t inorder traversal sequence remains unchanged. By employing ordered-h eap to a multiple-stacks environment, it is easy and efficient to simu ltaneously handle several variable-size stacks in a sequential memory area. Our experiments show that not only the total number of item move ments in the proposed method is much smaller than in the previous meth ods, but also the overhead for maintaining data structure in the propo sed method is kept within a reasonable range.