Lightweight Semiformal Time Complexity Analysis for Purely Functional Data Structures

被引:45
|
作者
Danielsson, Nils Anders [1 ]
机构
[1] Chalmers Univ Technol, Gothenburg, Sweden
基金
英国工程与自然科学研究理事会;
关键词
Languages; performance; theory; verification;
D O I
10.1145/1328438.1328457
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Okasaki and others have demonstrated how purely functional data structures that are efficient even in the presence of persistence can be constructed. To achieve good time bounds essential use is often made of laziness. The associated complexity analysis is frequently subtle, requiring careful attention to detail, and hence formalising it is valuable. This paper describes a simple library which can be used to make the analysis of a class of purely functional data structures and algorithms almost fully formal. The basic idea is to use the type system to annotate every function with the time required to compute its result. An annotated monad is used to combine time complexity annotations. The library has been used to analyse some existing data structures, for instance the deque operations of Hinze and Paterson's finger trees.
引用
收藏
页码:133 / 144
页数:12
相关论文
共 50 条
  • [21] Lightweight Annotations for Controlling Sharing in Concurrent Data Structures
    Anderson, Zachary
    Gay, David
    Naik, Mayur
    PLDI'09 PROCEEDINGS OF THE 2009 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2009, : 98 - 109
  • [22] The cell probe complexity of succinct data structures
    Gál, A
    Miltersen, PB
    AUTOMATA, LANGUAGES AND PROGRAMMING, PROCEEDINGS, 2003, 2719 : 332 - 344
  • [23] The cell probe complexity of succinct data structures
    Gal, Anna
    Miltersen, Peter Bro
    THEORETICAL COMPUTER SCIENCE, 2007, 379 (03) : 405 - 417
  • [24] Isogeometric Analysis in the Design Process of Lightweight Structures
    Bauer, Anna M.
    Wuechner, Roland
    Bletzinger, Kai-Uwe
    IASS 60TH ANNIVERSARY SYMPOSIUM (IASS SYMPOSIUM 2019) - 9TH INTERNATIONAL CONFERENCE ON TEXTILE COMPOSITES AND INFLATABLE STRUCTURES (STRUCTURAL MEMBRANES 2019), 2019, : 799 - 806
  • [25] Dynamic Stability Analysis of Lightweight Frame Structures
    Petkevicius, K.
    TRANSPORT MEANS 2008, PROCEEDINGS, 2008, : 219 - 222
  • [26] Analytical Circuit Models: From Purely Spatial to Space-Time Structures
    Moreno-Rodriguez, Salvador
    Alex-Amor, Antonio
    Padilla, Pablo
    Valenzuela-Valdes, Juan F.
    Molero, Carlos
    2024 18TH EUROPEAN CONFERENCE ON ANTENNAS AND PROPAGATION, EUCAP, 2024,
  • [27] Time-Varying Time-Frequency Complexity Measures for Epileptic EEG Data Analysis
    Colominas, Marcelo A.
    Jomaa, Mohamad El Sayed Hussein
    Jrad, Nisrine
    Humeau-Heurtier, Anne
    Van Bogaert, Patrick
    IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, 2018, 65 (08) : 1681 - 1688
  • [28] Evaluating the complexity of some families of functional data
    Bongiorno, E. G.
    Goia, A.
    Vieu, P.
    SORT-STATISTICS AND OPERATIONS RESEARCH TRANSACTIONS, 2018, 42 (01) : 27 - 44
  • [29] FORMALIZED COMPLEXITY ANALYSIS BASED ON A PRIORI INVESTIGATION OF THE PROPERTIES OF ALGORITHMS AND DATA-STRUCTURES
    KOZHEVNIKOVA, GP
    CYBERNETICS, 1985, 21 (06): : 743 - 747
  • [30] Functional data analysis with covariate-dependent mean and covariance structures
    Zhang, Chenlin
    Lin, Huazhen
    Liu, Li
    Liu, Jin
    Li, Yi
    BIOMETRICS, 2023, 79 (03) : 2232 - 2245