Skip to main content

Andorra Model Revised: Introducing Nested Domain Variables and a Targeted Search

  • Conference paper
  • First Online:
  • 310 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 2250))

Abstract

The Andorra Model is a computation model to improve the efficiency of Prolog programs as well as to exploit parallelism. The model was designed in two stages: the basic model and the extended model. The major difference between the two is that a binding determinacy principle replaced the original clause determinacy principle, and an and-or box rewriting computation replaced the traditional resolution.

This work aims to tackle some unsolved problems left in the Extended Andorra Model. We propose to replace the original and-or box rewriting method by a targeted search. The search is called targeted because we only look for possible solutions of certain specified variables. The variables shared between different local computations can be dynamically changed to finite domain variables after the targeted search, and their consistency checked eagerly. Therefore, many unnecessary or-branches can be pruned at an early stage. A special feature of our domain variable is that we allow a domain to contain non-ground compound terms, i.e., open structures. Variables within these open structures can also become domain variables, leading to nested domain variables.

We have tested our idea by an experimental implementation under SICStus Prolog, and obtained very encouraging results.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. R. Bahgat, V. Santos Costa, and R. Yang. ARCH: A Parallel Execution Model that Minimises the Search Space of Logic Programs. Egyptian Computer Journal, 23(2), 1996.

    Google Scholar 

  2. B. Demoen, M. Garcia de la Banda, W. Harvey, K. Marriott, and P. Stuckey.Herbrand constraint solving in HAL. In Proceedings of the International Conference on Logic Programming, pages 260–274. MIT Press, December 1999.

    Google Scholar 

  3. I. Dutra. A Flexible Scheduler for Andorra-I. In A. Beaumont and G. Gupta, editors, Lecture Notes in Computer Science 569,Par allel Execution of Logic Programs, pages 70–82. Springer-Verlag, June 1991.

    Google Scholar 

  4. G. Gupta and D. H. D. Warren. An Interpreter for the Extended Andorra Model.Presented at ICLP’90 Workshop on Parallel Logic Programming, Eilat, Israel, June 1990.

    Google Scholar 

  5. S. Haridi, P. V. Roy, P. Brand, and C. Schulte. Programming Languages for Distributed Applications. New Generation Computing, 16(3), 1998.

    Google Scholar 

  6. S. Janson and S. Haridi. Programming Paradigms of the Andorra Kernel Language.In Logic Programming: Proceedings of the International Logic Programming Symposium, pages 167–186. MIT Press, October 1991.

    Google Scholar 

  7. A.K. Mackworth. Consistency in Networks of Relations. Artificial Intelligence, 8(1):99–118, 1977.

    Article  MATH  MathSciNet  Google Scholar 

  8. R. Moolenaar and B. Demoen. Hybrid Tree Search in the Andorra Model. In Proceedings of the 8th International Conference on Logic Programming, pages 110–123. MIT Press, June 1994.

    Google Scholar 

  9. V. Santos Costa, D. H. D. Warren, and R. Yang. The Andorra-I Engine: A parallel implementation of the Basic Andorra model. In Logic Programming: Proceedings of the 8th International Conference. MIT Press, 1991.

    Google Scholar 

  10. V. Santos Costa, D. H. D. Warren, and R. Yang. The Andorra-I Preprocessor: Supporting full Prolog on the Basic Andorra model. In Logic Programming: Proceedings of the 8th International Conference. MIT Press, 1991.

    Google Scholar 

  11. P. Van Hentenryck. Constraint Satisfaction in Logic Programming. MIT Press, 1989.

    Google Scholar 

  12. D. H. D. Warren. The Extended Andorra Model with Implicit Control. Presented at ICLP’90 Workshop on Parallel Logic Programming, Eilat, Israel, June 1990.

    Google Scholar 

  13. R. Yang et al. Performance of the Compiler-based Andorra-I System. In Logic Programming: Proceedings of the 10th International Conference. MIT Press, 1993.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Yang, R., Gregory, S. (2001). Andorra Model Revised: Introducing Nested Domain Variables and a Targeted Search. In: Nieuwenhuis, R., Voronkov, A. (eds) Logic for Programming, Artificial Intelligence, and Reasoning. LPAR 2001. Lecture Notes in Computer Science(), vol 2250. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45653-8_42

Download citation

  • DOI: https://doi.org/10.1007/3-540-45653-8_42

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-42957-9

  • Online ISBN: 978-3-540-45653-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics