ACM Home Page
Please provide us with feedback. Feedback
The Cassowary linear arithmetic constraint solving algorithm
Full text PdfPdf (694 KB)
Source ACM Transactions on Computer-Human Interaction (TOCHI) archive
Volume 8 ,  Issue 4  (December 2001) table of contents
Pages: 267 - 306  
Year of Publication: 2001
ISSN:1073-0516
Authors
Greg J. Badros  University of Washington, Seattle, WA
Alan Borning  University of Washington, Seattle, WA
Peter J. Stuckey  University of Melbourne, Parkville, Victoria, Australia
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 54,   Citation Count: 25
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/504704.504705
What is a DOI?

ABSTRACT

Linear equality and inequality constraints arise naturally in specifying many aspects of user interfaces, such as requiring that one window be to the left of another, requiring that a pane occupy the leftmost third of a window, or preferring that an object be contained within a rectangle if possible. Previous constraint solvers designed for user interface applications cannot handle simultaneous linear equations and inequalities efficiently. This is a major limitation, as such systems of constraints arise often in natural declarative specifications. We describe Cassowary---an incremental algorithm based on the dual simplex method, which can solve such systems of constraints efficiently. We have implemented the algorithm as part of a constraint-solving toolkit. We discuss the implementation of the toolkit, its application programming interface, and its performance.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
BADROS,G.J.AND BORNING, A. 2001. Cassowary constraint solving toolkit. Web page. http://www.cs.washington.edu/research/constraints/cassowary.
3
 
4
BADROS,G.J.,NICHOLS,J.,AND BORNING, A. 2000. SCWM-the Scheme Constraints Window Manager. In Proceedings of the AAAI Spring Symposium on Smart Graphics.
5
6
 
7
BORNING,A.AND BADROS, G. 2000. On finding graphically plausible solutions to constraint hierarchies: The split stay problem. In Workshop on Soft Constraints: Theory and Practice. Sixth International Conference on Principles and Practice of Constraint Programming (Singapore). Available from http://www.cs.washington.edu/research/constraints.
 
8
 
9
10
 
11
12
 
13
HOSOBE, H., MATSUOKA,S.,AND YONEZAWA, A. 1996. Generalized local propagation: A framework for solving constraint hierarchies. In Proceedings of the Second International Conference on Principles and Practice of Constraint Programming. LINCS 1118, Springer-Verlag, Heidelberg, Germany.
 
14
HUDSON,S.AND SMITH, I. 1996. SubArctic UI toolkit user's manual. Tech. Rep., College of Computing, Georgia Institute of Technology.
 
15
16
 
17
MARRIOTT,K.AND STUCKEY, P. 1998. Programming with Constraints: An Introduction. MIT Press, Cambridge, MA.
18
 
19
20
 
21
 
22
SUTHERLAND, I. 1963. Sketchpad: A man-machine graphical communication system. In Proceedings of the Spring Joint Computer Conference. IFIPS, 329-346.
 
23
VAN HENTENRYCK,P.AND GRAF, T. 1990. Standard forms for rational linear arithmetic in constraint logic programming. Internal Rep. ir-lp-2217, European Computer Research Centre.
24
 
25

CITED BY  25

Collaborative Colleagues:
Greg J. Badros: colleagues
Alan Borning: colleagues
Peter J. Stuckey: colleagues