Space-efficient Planar Acyclicity Constraints - A Declarative Pearl - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2016

Space-efficient Planar Acyclicity Constraints - A Declarative Pearl

Résumé

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.
Fichier principal
Vignette du fichier
flops16acyclicity.pdf (249.49 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01426753 , version 1 (04-01-2017)

Licence

Paternité - Pas d'utilisation commerciale - Pas de modification

Identifiants

  • HAL Id : hal-01426753 , version 1

Citer

Taus Brock-Nannestad. Space-efficient Planar Acyclicity Constraints - A Declarative Pearl. FLOPS 2016 - 13th International Symposium on Functional and Logic Programming, Mar 2016, Kochi, Japan. ⟨hal-01426753⟩
316 Consultations
31 Téléchargements

Partager

Gmail Facebook X LinkedIn More