MULTIWAY VERSUS ONE-WAY CONSTRAINTS IN USER INTERFACES - EXPERIENCE WITH THE DELTABLUE ALGORITHM

被引:35
作者
SANNELLA, M
MALONEY, J
FREEMANBENSON, B
BORNING, A
机构
[1] SUN MICROSYST LABS INC,MT VIEW,CA 94043
[2] UNIV VICTORIA,DEPT COMP SCI,VICTORIA V8W 3P6,BC,CANADA
关键词
CONSTRAINTS; CONSTRAINT SATISFACTION; LOCAL PROPAGATION; DELTABLUE; USER INTERFACE IMPLEMENTATION TECHNIQUES;
D O I
10.1002/spe.4380230507
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The efficient satisfaction of constraints is essential to the performance of constraint-based user interfaces. In the past, most constraint-based user interfaces have used one-way rather than multi-way constraints because of a widespread belief that one-way constraints were more efficient. In this paper we argue that many user interface construction problems are handled more naturally and elegantly by multi-way constraints than by one-way constraints. We present pseudocode for an incremental multi-way constraint satisfaction algorithm, DeltaBlue, and describe experience in using the algorithm in two user interface toolkits. Finally, we provide performance figures demonstrating that multi-way constraint solvers can be entirely competitive in performance with one-way constraint solvers.
引用
收藏
页码:529 / 566
页数:38
相关论文
共 49 条
[1]   AN OBJECT-ORIENTED APPROACH TO GRAPHICAL INTERFACES [J].
BARTH, PS .
ACM TRANSACTIONS ON GRAPHICS, 1986, 5 (02) :142-172
[2]   CONSTRAINT-BASED TOOLS FOR BUILDING USER INTERFACES [J].
BORNING, A ;
DUISBERG, R .
ACM TRANSACTIONS ON GRAPHICS, 1986, 5 (04) :345-374
[3]   THE PROGRAMMING LANGUAGE ASPECTS OF THINGLAB, A CONSTRAINT-ORIENTED SIMULATION LABORATORY [J].
BORNING, A .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1981, 3 (04) :353-387
[4]  
BORNING A, 1987, 1987 P ACM C OBJ OR, P48
[5]  
BORNING A, 1989, 6TH P INT LOG PROGR, P149
[6]  
BORNING A, 1992, LISP SYMBOLIC COMPUT, V5, P221
[7]  
BRAD A, 1990, IEEE COMPUT, V23, P71
[8]  
COHEN ES, 1986, IEEE COMPUT GRAPH, P35
[9]   AN INTRODUCTION TO PROLOG-III [J].
COLMERAUER, A .
COMMUNICATIONS OF THE ACM, 1990, 33 (07) :69-90
[10]  
DINCBAS M, 1988, 5TH P GEN COMP SYSTE, P249