• DocumentCode
    957089
  • Title

    Prolog and Geometry Projects

  • Author

    Franklin, W.R. ; Wu, Peter Y F ; Samaddar, Sumitro ; Nichols, Margaret

  • Author_Institution
    Rensselaer Polytechnic Institute
  • Volume
    6
  • Issue
    11
  • fYear
    1986
  • Firstpage
    46
  • Lastpage
    55
  • Abstract
    Prolog is a userful tool for geometry and graphics implementations because its primitives, such as unification, match the requiements of many geometric algorithms. During the last two years, we have implemented programs to solve several problems in Prolog, including a subset of the Graphical Kernel System, convex-hull calculation, planar graph traversal, recognition of groupings of objects, Boolean combinations of polygons using multiple precision rational numbers, and cartographic map overlay. Certain paradigms or standard forms of geometric programming in Prolog are becoming evident. They include applying a function to every element of a set, executing a procedure so long as a certain geometric pattern exists, and using unification to propagate a transitive function. This article describes the experiences, including paradigms of programming that seem useful, and finally lists what we see as a advantaes and disadvantages of Prolog.
  • Keywords
    Algorithm design and analysis; Computational geometry; Data structures; Databases; Design automation; Graphics; Joining processes; Laboratories; Logic programming; Tellurium;
  • fLanguage
    English
  • Journal_Title
    Computer Graphics and Applications, IEEE
  • Publisher
    ieee
  • ISSN
    0272-1716
  • Type

    jour

  • DOI
    10.1109/MCG.1986.276671
  • Filename
    4056763