DocumentCode
2178692
Title
On the average number of registers required for evaluating arithmetic expressions
Author
Flajolet, P. ; Raoult, J.C. ; Vuillemin, J.
fYear
1977
fDate
Oct. 31 1977-Nov. 2 1977
Firstpage
196
Lastpage
205
Abstract
Let An be the average number of registers required for evaluating arithmetic expressions of size n, or, equivalently, the minimal stack needed for exploring binary trees with n nodes. We give explicit expressions for An and related quantities and show that: An = log4(n) + C + E(log4n) + o(1) where C = 1/2 - γ + 2/2 log2 + log2Π 0.292 and E is continuous, periodic with period 1, with average value 0 and amplitude less than .05.
Keywords
Algorithm design and analysis; Arithmetic; Binary trees; Computer science; Registers; Shape;
fLanguage
English
Publisher
ieee
Conference_Titel
Foundations of Computer Science, 1977., 18th Annual Symposium on
Conference_Location
Providence, RI, USA
ISSN
0272-5428
Type
conf
DOI
10.1109/SFCS.1977.19
Filename
4567943
Link To Document