Abstract
This paper describes a proposal to incorporate finite domain constraints in a functional logic system. The proposal integrates functions, higher-order patterns, partial applications, non-determinism, logical variables, currying, types, lazyness, domain variables, constraints and finite domain propagators.
The paper also presents TOY(FD), an extension ofthe functional logic language TOYthat provides FD constraints, and shows, by examples, that TOY(FD) combines the power ofconstrain t logic programming with the higher-order characteristics off unctional logic programming.
Fernández was partially supported by the projects TIC2001-2705-C03-02 and TIC2002-04498-C05-02 funded by the Spanish Ministry of Science and Technology.
Hortalá-González and Fernando Sáenz-Pérez were supported by the Spanish project PR 48/01-9901 funded by UCM.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
S. Antoy and M. Hanus. Compiling multi-paradigm declarative programs into prolog. In H. Kirchner and C. Ringeissen, editors, 3rd International Workshop on Frontiers of Combining Systems, number 1794 in LNCS, pages 171–185. Springer-Verlag, 2000.
M. Carlsson, G. Ottosson, and B. Carlson. An pen-ended finite domain constraint solver. In U. Montanari and F. Rossi, editors, 9th International Symposium on Programming Languages: Implementations, Logics und Programs (PLILP’97), number 1292 in LNCS, pages 191–206, Southampton, UK, 1997. Springer-Verlag.
M. Hanus (editor). Pakcs 1.4.0, user manual. The Portland Aachen Kiel Curry System. Available from http://www.informatik.uni-kiel.de/∼pakcs/, 2002.
A.J. Fernández, T. Hortalá-González, and F. Sáenz-Pérez. TOY(FD): User manual, latest Version. Available at http://www.lcc.uma.es/∼afdez/cflpfd/, 2002.
R. Fourer, D.M. Gay, and B.W. Kernighan. Ampl: A modeling language for mathematical programming. Scientific Press, 1993.
J.C. González-Moreno, M.T. Hortalá-González, and M. Rodríguez-Artalejo. Polymorphic types in functional logic programming. In Aart Middeldorp and Taisuke Sato, editors, 4th International Symposium on Functional und Logic Programming (FLOPS’99), number 1722 in LNCS, pages 1–20, Tsukuba, Japan, November 1999. Springer-Verlag. There is special issue ofthe Journal of Functional and Logic Programming, 2001. See http://danae.uni-muenster.de/lehre/kuchen/JFLP.
M. Hanus. The integration off unctions into logic programming: A survey. The Journal of Logic Programming, 19-20:583–628, 1994. Special issue: Ten Years of Logic Programming.
J. Jaffar and M. Maher. Constraint logic programming: a survey. The Journal of Logic Programming, 19-20:503–581, 1994.
F.J. López-Fraguas and J. Sánchez-Hernández. TOY: A multiparadigm declarative system. In P. Narendran and M. Rusinowitch, editors, 10th International Conference on Rewriting Techniques und Applications, number 1631 in LNCS, pages 244–247, Trento, Italy, 1999. Springer-Verlag. The system and further documentation including programming examples is available at http://babel.dacya.ucm.es/toy and http://titan.sip.ucm.es/toy.
G. Smolka. The Oz programming model. In Jan Van Leeuwen, editor, Computer Science Today, number 1000 in LNCS, pages 324–343, Berlin, 1995. Springer-Verlag.
P. Van Hentenryck. Constraint satisfaction in logic programming. The MIT Press, Cambridge, MA, 1989.
P. Van Hentenryck. The OPL optimization programming language. The MIT Press, Cambridge, MA, 1999.
N-F. Zhou. Channel Routing with Constraint Logic Programming and Delay. In 9th International Conference on Industrial Applications of Artificial Intelligence, pages 217–231. Gordon and Breach Science Publishers, 1996.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Fernández, A.J., Hortalá-González, T., Sáenz-Pérez, F. (2003). Solving Combinatorial Problems with a Constraint Functional Logic Language. In: Dahl, V., Wadler, P. (eds) Practical Aspects of Declarative Languages. PADL 2003. Lecture Notes in Computer Science, vol 2562. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36388-2_22
Download citation
DOI: https://doi.org/10.1007/3-540-36388-2_22
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-00389-2
Online ISBN: 978-3-540-36388-0
eBook Packages: Springer Book Archive