Skip to main content

The Theory of Grammar Constraints

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4204))

Abstract

By introducing the Regular Membership Constraint, Gilles Pesant pioneered the idea of basing constraints on formal languages. The paper presented here is highly motivated by this work, taking the obvious next step, namely to investigate constraints based on grammars higher up in the Chomsky hierarchy. We devise an arc-consistency algorithm for context-free grammars, investigate when logic combinations of grammar constraints are tractable, show how to exploit non-constant size grammars and reorderings of languages, and study where the boundaries run between regular, context-free, and context-sensitive grammar filtering.

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. Bacchus, F., Walsh, T.: Propagating Logical Combinations of Constraints. In: International Joint Conference on Artificial Intelligence, pp. 35–40 (2005)

    Google Scholar 

  2. Beldiceanu, N., Carlsson, M., Petit, T.: Deriving Filtering Algorithms from Constraint Checkers. In: Wallace, M. (ed.) CP 2004. LNCS, vol. 3258. Springer, Heidelberg (2004)

    Google Scholar 

  3. Bessière, C., Régin, J.-C.: Local consistency on conjunctions of constraints. In: Workshop on Non-Binary Constraints (1998)

    Google Scholar 

  4. Bourdais, S., Galinier, P., Pesant, G.: HIBISCUS: A Constraint Programming Application to Staff Scheduling in Health Care. In: Rossi, F. (ed.) CP 2003. LNCS, vol. 2833, pp. 153–167. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  5. Chomsky, N.: Three models for the description of language. IRE Transactions on Information Theory 2, 113–124 (1956)

    Article  Google Scholar 

  6. Hopcroft, J.E., Ullman, J.D.: Introduction to Automata Theory, Languages and Computation. Addison Wesley, Reading (1979)

    MATH  Google Scholar 

  7. Lhomme, O.: Arc-consistency Filtering Algorithms for Logical Combinations of Constraints. In: International Conference on Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimisation Problems (2004)

    Google Scholar 

  8. Rousseau, L.-M., Pesant, G., van Hoeve, W.-J.: On Global Warming: Flow Based Soft Global Constraint. Informs, 27 (2005)

    Google Scholar 

  9. Pesant, G.: A Regular Language Membership Constraint for Finite Sequences of Variables. In: Wallace, M. (ed.) CP 2004. LNCS, vol. 3258, pp. 482–495. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  10. Pesant, G.: A Regular Language Membership Constraint for Sequences of Variables. In: International Workshop on Modelling and Reformulating Constraint Satisfaction Problems, pp. 110–119 (2003)

    Google Scholar 

  11. Trick, M.: A dynamic programming approach for consistency and propagation for knapsack constraints. In: International Workshop on Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems, pp. 113–124 (2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Sellmann, M. (2006). The Theory of Grammar Constraints. In: Benhamou, F. (eds) Principles and Practice of Constraint Programming - CP 2006. CP 2006. Lecture Notes in Computer Science, vol 4204. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11889205_38

Download citation

  • DOI: https://doi.org/10.1007/11889205_38

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-46267-5

  • Online ISBN: 978-3-540-46268-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics