Abstract
In interactive graphical applications we often require that objects do not overlap. Such non-overlap constraints can be modelled as disjunctions of arithmetic inequalities. Unfortunately, disjunctions are typically not handled by constraint solvers that support direct manipulation, in part because solving such problems is NP-hard. We showhere that is in fact possible to (re-)solve systems of disjunctive constraints representing non-overlap constraints suficiently fast to support direct manipulation in interactive graphical applications. The key insight behind our algorithms is that the disjuncts in a non-overlap constraint are not disjoint: during direct manipulation we need only move between disjuncts that are adjacent in the sense that they share the current solution. We give both a generic algorithm, and a version specialised for linear arithmetic constraints that makes use of the Cassowary constraint solving algorithm.
Original language | English |
---|---|
Title of host publication | Principles and Practice of Constraint Programming – CP 2001 |
Subtitle of host publication | 7th International Conference, CP 2001 Paphos, Cyprus, November 26 – December 1, 2001 Proceedings |
Editors | Toby Walsh |
Place of Publication | Berlin Germany |
Pages | 361-376 |
Number of pages | 16 |
DOIs | |
Publication status | Published - 2001 |
Event | International Conference on Principles and Practice of Constraint Programming 2001 - Paphos, Cyprus Duration: 26 Nov 2001 → 1 Dec 2001 Conference number: 7th |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | Springer |
Volume | 2239 |
ISSN (Print) | 0302-9743 |
Conference
Conference | International Conference on Principles and Practice of Constraint Programming 2001 |
---|---|
Abbreviated title | CP 2001 |
Country/Territory | Cyprus |
City | Paphos |
Period | 26/11/01 → 1/12/01 |