Improved tupling for optimizing multi-paradigm declarative programs

被引:0
|
作者
González, S [1 ]
Moreno, G [1 ]
机构
[1] Univ Castilla La Mancha, Dept Comp Sci, Albacete 02071, Spain
来源
ADVANCES IN ARTIFICIAL INTELLIGENCE - IBERAMIA 2004 | 2004年 / 3315卷
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This paper investigates the optimization by fold/unfold of declarative programs that integrate the best features from both functional and logic programming. Transformation sequences are guided by a mixed strategy which, in three low-level transformation phases. successfully combines two well-known heuristics -composition and tupling-, thus avoiding the construction of intermediate data structures and redundant. sub-computations. In particular, whereas composition is able to produce a single function definition for some nested (composed) functions. the tupling method merges non-nested functions calls into a new, function definition called eureka. We solve the non trivial problem of discovering the set of calls to be tupled in an incremental way.. i.e. chaining different eureka definitions where only non-nested calls sharing common variables are taken into account. Moreover, by appropriately combining both strategies, together with a simplification pre-process based on a kind of normalization, we automatically optimize a wide range of programs (with nested and/or non-nested function calls) at a very low cost.
引用
收藏
页码:419 / 429
页数:11
相关论文
共 50 条
  • [11] A practical partial evaluator for a multi-paradigm declarative language
    Albert, E
    Hanus, M
    Vidal, G
    FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 2001, 2024 : 326 - 342
  • [12] CARTOGRAPHIC MODELING BASED ON AN OBJECT-ORIENTED AND DECLARATIVE MULTI-PARADIGM
    Leszczynska, Malgorzata
    GEOCONFERENCE ON INFORMATICS, GEOINFORMATICS AND REMOTE SENSING, VOL I, 2014, : 481 - 488
  • [13] ObjectCurry: An object-oriented extension of the declarative multi-paradigm language Curry
    Hanus, M
    Huch, F
    Niederau, P
    IMPLEMENTATION OF FUNCTIONAL LANGUAGES, 2001, 2011 : 89 - 106
  • [14] Integrating modelling architecture: a declarative framework for multi-paradigm, multi-scale ecological modelling
    Villa, F
    ECOLOGICAL MODELLING, 2001, 137 (01) : 23 - 42
  • [15] Evaluating agent-oriented programs: towards multi-paradigm metrics
    Jordan, Howell R.
    Collier, Rem
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2012, 6599 LNAI : 63 - 78
  • [16] Multi-paradigm Programming in Maude
    Escobar, Santiago
    REWRITING LOGIC AND ITS APPLICATIONS, WRLA 2018, 2018, 11152 : 26 - 44
  • [17] The Computational Notebook Paradigm for Multi-Paradigm Modeling
    Oakes, Bentley James
    Franceschini, Romain
    Van Mierlo, Simon
    Vangheluwe, Hans
    2019 ACM/IEEE 22ND INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2019), 2019, : 449 - 454
  • [18] A multi-paradigm language for reactive synthesis
    Filippidis, Ioannis
    Murray, Richard M.
    Holzmann, Gerard J.
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2016, (202): : 73 - 97
  • [19] Recent Advances in Multi-paradigm Modeling
    Amaral, Vasco
    Hardebolle, Cecile
    Karsai, Gabor
    Lengyel, Laszlo
    Levendovszky, Tihamer
    MODELS IN SOFTWARE ENGINEERING, 2010, 6002 : 220 - +
  • [20] A Multi-paradigm Complexity Metric (MCM)
    Misra, Sanjay
    Akman, Ibrahim
    Cafer, Ferid
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2011, PT V, 2011, 6786 : 342 - 354