Skip to main content

Space-Efficient Planar Acyclicity Constraints

A Declarative Pearl

  • Conference paper
  • First Online:
Functional and Logic Programming (FLOPS 2016)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9613))

Included in the following conference series:

  • 624 Accesses

Abstract

Many constraints on graphs, e.g. the existence of a simple path between two vertices, or the connectedness of the subgraph induced by some selection of vertices, can be straightforwardly represented by means of a suitable acyclicity constraint. One method for encoding such a constraint in terms of simple, local constraints uses a 3-valued variable for each edge, and an \((N+1)\)-valued variable for each vertex, where N is the number of vertices in the entire graph. For graphs with many vertices, this can be somewhat inefficient in terms of space usage.

In this paper, we show how to refine this encoding into one that uses only a single bit of information, i.e. a 2-valued variable, per vertex, assuming the graph in question is planar. We furthermore show how this same constraint can be used to encode connectedness constraints, and a variety of other graph-related constraints.

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 EPUB and 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

References

  1. Rintanen, J., Janhunen, T., Gebser, M.: SAT modulo graphs: acyclicity. In: Fermé, E., Leite, J. (eds.) JELIA 2014. LNCS, vol. 8761, pp. 137–151. Springer, Heidelberg (2014)

    Google Scholar 

  2. Grünbaum, B., Shephard, G.C.: Rotation and winding numbers for planar polygons and curves. Trans. Am. Math. Soc. 322(1), 169–187 (1990)

    Article  MathSciNet  MATH  Google Scholar 

  3. Otten, R., Van Wijk, J.: Graph representations in interactive layout design. In: Proceedings of the IEEE International Symposium on Circuits and Systems, pp. 914–918 (1978)

    Google Scholar 

  4. Rosenstiehl, P., Tarjan, R.E.: Rectilinear planar layouts and bipolar orientations of planar graphs. Discrete Comput. Geom. 1(1), 343–353 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  5. Tamura, N.: Solving puzzles with Sugar constraint solver. Slides, August 2008. http://bach.istc.kobe-u.ac.jp/sugar/puzzles/sugar-puzzles.pdf

  6. Tamura, N., Taga, A., Kitagawa, S., Banbara, M.: Compiling finite linear CSP into SAT. Constraints 14(2), 254–272 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  7. Whitney, H.: On regular closed curves in the plane. Compositio Mathematica 4, 276–284 (1937)

    MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

This work is funded by the ERC Advanced Grant ProofCert.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Taus Brock-Nannestad .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Brock-Nannestad, T. (2016). Space-Efficient Planar Acyclicity Constraints. In: Kiselyov, O., King, A. (eds) Functional and Logic Programming. FLOPS 2016. Lecture Notes in Computer Science(), vol 9613. Springer, Cham. https://doi.org/10.1007/978-3-319-29604-3_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-29604-3_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-29603-6

  • Online ISBN: 978-3-319-29604-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics