Numerical representations as purely functional data structures: a new approach

被引:0
|
作者
Ivanovic, M
机构
[1] Univ Novi Sad, Fac Sci & Math, YU-21000 Novi Sad, Yugoslavia
[2] MIT, Comp Sci Lab, Cambridge, MA 02139 USA
关键词
data structures; purely functional language; random-accesss list; program derivation; recursive slowdown;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper is concerned with design, implementation and verification of persistent purely functional data structures which are motivated by the representation of natural numbers using positional number systems. A new implementation of random-access list based on redundant segmented binary numbers is described. It uses 4 digits and an invariant which guarantees constant worst-case bounds for cons, head, and tail list operations as well as logarithmic time for lookup and update. The relationship of random-access list with positional number system is formalized and benefits of this analogy are demonstrated.
引用
收藏
页码:163 / 176
页数:14
相关论文
共 50 条
  • [1] Inductive benchmarking for purely functional data structures
    Moss, GE
    Runciman, C
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2001, 11 : 525 - 556
  • [2] Lightweight semiformal time complexity analysis for purely functional data structures
    Danielsson, Nils Anders
    ACM SIGPLAN NOTICES, 2008, 43 (01) : 133 - 144
  • [3] Lightweight Semiformal Time Complexity Analysis for Purely Functional Data Structures
    Danielsson, Nils Anders
    POPL'08: PROCEEDINGS OF THE 35TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2008, : 133 - 144
  • [4] AN EFFICIENCY COMPARISON OF SOME REPRESENTATIONS OF PURELY FUNCTIONAL ARRAYS
    AASA, A
    HOLMSTROM, S
    NILSSON, C
    BIT, 1988, 28 (03): : 490 - 503
  • [5] Distributed programming, a purely functional approach
    Spiliopoulou, E
    Holyer, I
    Davies, N
    ACM SIGPLAN NOTICES, 1997, 32 (08) : 320 - 320
  • [6] A Purely Functional Approach to Packet Processing
    Bonelli, Nicola
    Giordano, Stefano
    Procissi, Gregorio
    Abeni, Luca
    TENTH 2014 ACM/IEEE SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS'14), 2014, : 219 - 230
  • [7] Preference structures and their numerical representations
    Fishburn, P
    THEORETICAL COMPUTER SCIENCE, 1999, 217 (02) : 359 - 383
  • [8] Optimal Subgroup Discovery in Purely Numerical Data
    Millot, Alexandre
    Cazabet, Remy
    Boulicaut, Jean-Francois
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PAKDD 2020, PT II, 2020, 12085 : 112 - 124
  • [9] Data shuffling - A new masking approach for numerical data
    Muralidhar, Krishnamurty
    Sarathy, Rathindra
    MANAGEMENT SCIENCE, 2006, 52 (05) : 658 - 670
  • [10] A new numerical approach to mechanically analyse biological structures
    Marques, M.
    Belinha, J.
    Dinis, L. M. J. S.
    Natal Jorge, R. M.
    COMPUTER METHODS IN BIOMECHANICS AND BIOMEDICAL ENGINEERING, 2019, 22 (01) : 100 - 111