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.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
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.
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.
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.
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.
S. Haridi, P. V. Roy, P. Brand, and C. Schulte. Programming Languages for Distributed Applications. New Generation Computing, 16(3), 1998.
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.
A.K. Mackworth. Consistency in Networks of Relations. Artificial Intelligence, 8(1):99–118, 1977.
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.
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.
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.
P. Van Hentenryck. Constraint Satisfaction in Logic Programming. MIT Press, 1989.
D. H. D. Warren. The Extended Andorra Model with Implicit Control. Presented at ICLP’90 Workshop on Parallel Logic Programming, Eilat, Israel, June 1990.
R. Yang et al. Performance of the Compiler-based Andorra-I System. In Logic Programming: Proceedings of the 10th International Conference. MIT Press, 1993.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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