Skip to main content

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1870))

  • 260 Accesses

Abstract

This chapter describes an approach to performance debugging of constraint programs by means of the visualisation of selected parts of the computation space. The computation space is represented by choice-trees, a notion which is commonly used to describe the search in constraint solvers. We propose a language for selecting the information to be visualised and present an algorithm to construct the corresponding view (it is a pruned choice-tree) in a form which is unique and which preserves the relative positions of the selected nodes and arcs. The originality of the approach lies in its genericity (different views may be displayed simultaneously to analyse the same computation space) and the way to specify the views, in particular, using properties of the program at hand. This allows to define new views of one execution without updating the program at hand nor re-executing it.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Cosytec. CHIP user Manual, beta release (September 1998)

    Google Scholar 

  2. Diaz, D.: GNU-Prolog user Manual, http://pauillac.inria.fr/diaz/gnuprolog/

  3. The DiSCiPl Consortium. Esprit LTR (Task 4.2) Project Nb 22532 Debugging Systems for Constraint Programming (October 1997-June 1999), http://discipl.inria.fr

  4. Deransart, P. (ed.): The DiSCiPl Consortium, CP Debugging: Tools. D.WP1.1.M1.1-2 (July 1997), http://discipl.inria.fr/deliverables1.html

  5. Deransart, P., Ed-Dbali, A., Cervoni, L.: Prolog: The Standard, Reference Manual. Springer, Heidelberg (1996)

    MATH  Google Scholar 

  6. Deransart, P., Małuszyński, J.: A Grammatical View of Logic Programming. The MIT Press, Cambridge (1993)

    MATH  Google Scholar 

  7. Bueno, F., Deransart, P., Drabent, W., Ferrand, G., Hermenegildo, M., Małuszyński, J., Puebla, G.: On the role of semantic approximations in validation and diagnosis of constraint logic programs. In: Kamkar, M. (ed.) Proceedings of the AADEBUG’97 (The Third International Workshop on Automated Debugging), Linköping University, pp. 155–169 (1997)

    Google Scholar 

  8. Carlson, B., Carlsson, M., Diaz, D.: Entailment of Finite Domain Constraint, ftp://ftp.inria.fr/INRIA/Projects/loco/publications/entail.ps

  9. Meier, M.: Debugging Constraint Programs. In: Proceedings of Principles and Practice of Constraint Programming (CP 1995), Cassis, pp. 204–221 (1995)

    Google Scholar 

  10. Jaffar, J., Maher, M.J.: Constraint Logic Programming: A Survey. Journal of Logic Programming 19/20, 503–581 (1994)

    Article  MathSciNet  Google Scholar 

  11. PrologIA. Prolog IV Manual, Tutorial, Basic Concepts (1997)

    Google Scholar 

  12. Fages, F.: Programmation Logique par Contraintes. Ellipses, X-Ecole Polytechnique, France (1996)

    Google Scholar 

  13. Lloyd, J.W.: Foundations of Logic Programming, 2nd edn. Springer, Heidelberg (1987)

    MATH  Google Scholar 

  14. Schulte, C.: Oz Explorer: A Visual Constraint Programming Tool. In: Proceedings of the Fourteenth International Conference on Logic Programming (ICLP 1997), Leuven, pp. 286–300. The MIT Press, Cambridge (1997)

    Google Scholar 

  15. Schulte, C.: Programming Constraint Inference Engine. In: Smolka, G. (ed.) CP 1997. LNCS, vol. 1330, pp. 519–534. Springer, Heidelberg (1997)

    Chapter  Google Scholar 

  16. Marriott, K., Stuckey, P.: Programming with constraints, an introduction. The MIT Press, Cambridge (1998)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Aillaud, C., Deransart, P. (2000). Towards a Language for CLP Choice-Tree Visualisation. In: Deransart, P., Hermenegildo, M.V., Małuszynski, J. (eds) Analysis and Visualization Tools for Constraint Programming. Lecture Notes in Computer Science, vol 1870. Springer, Berlin, Heidelberg. https://doi.org/10.1007/10722311_9

Download citation

  • DOI: https://doi.org/10.1007/10722311_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-41137-6

  • Online ISBN: 978-3-540-40016-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics