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 条
  • [31] Multi-paradigm Logic Programming in the ErgoAI System
    Swift, Theresa
    Kifer, Michael
    LOGIC PROGRAMMING AND NONMONOTONIC REASONING, LPNMR 2024, 2025, 15245 : 126 - 139
  • [33] Integrity constraints in the multi-paradigm language PROGRES
    Münch, M
    Schürr, A
    Winter, AJ
    THEORY AND APPLICATION TO GRAPH TRANSFORMATIONS, 2000, 1764 : 338 - 351
  • [34] Computer Automated Multi-Paradigm Modeling: An introduction
    Mosterman, PJ
    Vangheluwe, H
    SIMULATION-TRANSACTIONS OF THE SOCIETY FOR MODELING AND SIMULATION INTERNATIONAL, 2004, 80 (09): : 433 - 450
  • [35] MULTISCALE, MULTI-PARADIGM MODELLING OF EPITHELIAL TISSUE
    Smallwood, Rod
    JOURNAL OF PHYSIOLOGICAL SCIENCES, 2009, 59 : 102 - 102
  • [36] A Multi-Paradigm Modelling approach to live modelling
    Van Tendeloo, Yentl
    Van Mierlo, Simon
    Vangheluwe, Hans
    SOFTWARE AND SYSTEMS MODELING, 2019, 18 (05): : 2821 - 2842
  • [37] Towards a Formal Specification of Multi-Paradigm Modelling
    Amrani, Moussa
    Blouin, Dominique
    Heinrich, Robert
    Rensink, Arend
    Vangheluwe, Hans
    Wortmann, Andreas
    2019 ACM/IEEE 22ND INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2019), 2019, : 419 - 424
  • [38] Concrete Syntax: A Multi-paradigm Modelling Approach
    Van Tendeloo, Yentl
    Van Mierlo, Simon
    Meyers, Bart
    Vangheluwe, Hans
    SLE'17: PROCEEDINGS OF THE 10TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING, 2017, : 182 - 193
  • [39] Multi-paradigm programming in large control systems
    deJong, E
    PROCEEDINGS OF THE JOINT WORKSHOP ON PARALLEL AND DISTRIBUTED REAL-TIME SYSTEMS: FIFTH INTERNATIONAL WORKSHOP ON PARALLEL AND DISTRIBUTED REAL-TIME SYSTEMS (WPDRTS) AND THE THIRD WORKSHOP ON OBJECT-ORIENTED REAL-TIME SYSTEMS (OORTS), 1997, : 27 - 32
  • [40] Integrity constraints in the multi-paradigm language PROGRES
    Munch, M
    Schurr, A
    Winter, A
    1998 IEEE SYMPOSIUM ON VISUAL LANGUAGES, PROCEEDINGS, 1998, : 84 - 85