The Design and Implementation of A CLP(R) Compiler

Author
ZhouTianShan
Advisor
LiuChunNian
School
Beijing University of Technology
Major
Computer software
Classification
TP314 Compiler,interpreter
Degree
Master's thesis
Year
2001
Downloads
77
Citations
0

Request the full text

Abstract

My thesis was titled \This article is a summary of these three years of graduate study . Constraint Logic Programming (CLP) constraint satisfaction and logic programming method to combine the domain of constraint solving mechanism to replace the logic programming in -one mechanism , while maintaining the natural logic program expression constraint satisfaction problems and simplicity , and can efficiently solve such problems. Thus , in December 1996 , ACM Computing Surveys magazine CLP identified as one of the 19 research direction of strategic significance for future computer . The CLP language system can be a variety of standards for classification . Restriction on domain processing can be divided into a single on the domain and multi- domain system ; processing of constraint types can be divided into linear and nonlinear systems ; From an implementation mechanism to explain the system can be divided into and build system . The this article the description of BPU_CLP_C system is a multiple universe , can handle nonlinear constraints CLP compiler system . Domestic and foreign literature , we also did not see a system with these characteristics . The main content of this paper is to describe a solving nonlinear constrained Constraint Logic Programming (CLP) compiler compile , system implementation , optimization strategies , as well as the system of some typical nonlinear problem running instance . The system is a multi- domain of the CLP system , a unified approach to the interval arithmetic and constraint propagation as a discrete domain and real domain constraint solving , solving nonlinear constrained function , implemented as based on the expansion of the WAM instruction set compiled systems. Has completed initial due to the discrete domain part of the realization of the previous session of graduate work . This work is to work on the real number field , and to expand the range of linear constraint solving .

Table of contents

Chapter 1 Overview 10-13 Chapter II compiler program 13-38 Section I Introduction to the Prolog 13-15 second Festival Warren abstract machine 15-16 Section III compiled program 16-38 2.3.1 the system compiler method characterized nbsp to; 16-17 < br /> 2.3.2 the predicate defined the compiler 17 the 2.3.3 problem words compiler 17 2.3.4 a defined clause compilation to compile 17-21 2.3.5 Constraints 21-26 2.3.5.1 constraints compilation features 21-23 2.3.5.2 common user constraints translate 23 2.3.5.3 linear arithmetic constraints translation 23-24 2. nbsp 3.5.4 constraints compilation program; 24-26 2.3.6 Xin r CLP (R) constraints compiled realization 26-38 . 3.6.1 Basic constraints Xin r 26-30 2.3.6.2 user constraints 30-31 2.3.6.3 WAM instruction set The expansion 31-33 2.3.6.4 instruction generated process 33-35 2.3.6.5, nonlinear constrained compiled 35-38 the third chapter BPU_CLP_C system design and realization 38-49 first section system operation mechanism 38 second compilation part specific design 38-40 section III expansion to the data structure 40-42 3.3.1 environment, said the expansion 40 the the 3.2 constraint framework 40 3.3.3 R variable table 40-41 3.3.4 domain of description 41 3.3.5 Constraints chain the constraint propagation 41-42 3.3.6 queue 42 Section 4 to explain some of the specific design 42 -49 3.4.1 explain part of the whole program flow 42-43 3.4.2 system user constraints, and the interpretation of the basic constraints to achieve 43-47 < br /> 3.4.3 bound variable interval pruning method to achieve 47-49 Chapter system optimization strategy 49-53 4.1 paradigm compile The optimization 49 4.2 involution compiler optimization 49-51 4.3 variable constraint framework compiler optimization 51 4. 4 initial implementation of the basic constraints, the same constraints within the framework of the variables are not mutually activate 51 4.5 to establish multiple binding chain optimization 51 4.6 Repeat enter the wake queue optimization 51 4.7 point in time optimization 51-53 the fifth chapter BPU_CLP_C system running instance 53-57 Chapter 6 Conclusions 57-58 Acknowledgements 58-59 references 59-60

Related dissertations

  1. A Lagrangian Algorithm for Solving Nonlinear Constrained Optimization Problem
  2. Research on Viral Evolution Based RNA Genetic Algorithms and Applications
    XuXianFeng ·Zhejiang University ·2012 ·Master's thesis
  3. Build the Research and Practice of the Theoretical Framework of the Sports College Basketball Education Curriculum System
    ShiKai ·Northeast Normal University ·2012 ·Master's thesis
  4. Vernacular Colored Drawing for Hancheng City as Primary Phase
    JieJingZuo ·Xi'an Academy of Fine Arts ·2013 ·Master's thesis
  5. Research on the Control Allocation for over-actuated Marine Vessels
    WangFang ·Harbin Engineering University ·2012 ·Doctoral dissertation
  6. Research on Techniques of VLSI RT-Level Automatic Functional Vectors Generation
  7. The Nonlinear Bond of Computer Digital Simulation State in the Automatic Control System
    WangYanLiang ·Jilin University ·2007 ·Master's thesis
  8. Construct the Promotion Sustainable Development Tax Policy System of Our Country
    GuoXianJun ·Jinan University ·2007 ·Master's thesis
  9. The Design and Implementation of Lexical Parser and Part Semantic Analysis of TTCN-3 Compiler
    SunMei ·Inner Mongolia University ·2004 ·Master's thesis
  10. Research and practice -based the GCC development of C compilers
    ZhuShaoBo ·Zhejiang University ·2003 ·Master's thesis
  11. Construction of ecological river system and its application
    DuLiangPing ·Zhejiang University ·2007 ·Master's thesis
  12. The Research of Develop System for SoftPLC Faced to Numeric Control
    ZhangYueHui ·Yanshan University ·2006 ·Master's thesis
  13. Astronomical Images Blind Restoration and Reconstruction Based on the Maximum Likelihood
  14. Research and Implementationof VSL Script Language System
  15. Enterprise’s Flexible Dispatch and Metrical Method
    YuJie ·Wuhan University of Technology ·2006 ·Master's thesis
  16. VHDL Compiling System Design Methods and Studies on the Key Techniques
    LiYuan ·Sichuan University ·2005 ·Master's thesis
  17. PLC system research based on PC open numerical control system
    GaoBin ·Beijing University of Technology ·2001 ·Master's thesis
  18. Extending in ILP System with Constraints
    XiaZuoZuo ·Beijing University of Technology ·2000 ·Master's thesis
  19. Improved Algorithm of Wolfe for the Linear Constrained Nonlinear Programming Problem
    HangHaiXia ·Jiangxi Normal University ·2008 ·Master's thesis
  20. Automatic parallelizing compiler system scalable Agassiz
    ShenQinHua ·Fudan University ·2008 ·Master's thesis