A Refinement of the μ-measure for Stack Programs
Author(s) -
Emanuele Covino,
Giovanni Pani
Publication year - 2003
Publication title -
electronic notes in theoretical computer science
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.242
H-Index - 60
ISSN - 1571-0661
DOI - 10.1016/s1571-0661(03)00006-9
Subject(s) - measure (data warehouse) , stack (abstract data type) , nesting (process) , computer science , programming language , upper and lower bounds , call stack , complexity class , theoretical computer science , class (philosophy) , computational complexity theory , discrete mathematics , algorithm , mathematics , database , artificial intelligence , mathematical analysis , materials science , metallurgy
We analyze the complexity of a programming language operating on stacks, introducing a syntactical measure σ such that to each program P a natural number σ(P) is assigned; the measure considers the influence on the complexity of programs of nesting loops and, simultaneously, of sequences of non-size-increasing subprograms. We prove that functions computed by stack programs of σ measure n have a length bound b∈En+2 (the n+2-th Grzegorczyk class), that is |f(w→)|≤b(|w→|). This result represents an improvement with respect to the bound obtained via the μ-measure presented in [L. Kristiansen and K.-H. Niggl, On the computational complexity of imperative programming languages. Theoretical Computer Science, to appear]
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom