首页 | 官方网站   微博 | 高级检索  
     


Constraint hierarchies
Authors:Alan Borning  Bjorn Freeman-Benson and Molly Wilson
Affiliation:(1) Department of Computer Science and Engineering, FR-35, University of Washington, 98195 Seattle, Washington;(2) Department of Computer Science, University of Victoria, Box 3055, V8W 3P6 Victoria, B.C., Canada;(3) Department of Computer Science and Engineering, FR-35, University of Washington, 98195 Seattle, Washington
Abstract:Constraints allow programmers and users to state declaratively a relation that should be maintained, rather than requiring them to write procedures to maintain the relation themselves. They are thus useful in such applications as programming languages, user interface toolkits, and simulation packages. In many situations, it is desirable to be able to state bothrequired andpreferential constraints. The required constraints must hold. Since the other constraints are merely preferences, the system should try to satisfy them if possible, but no error condition arises if it cannot. Aconstraint hierarchy consists of a set of constraints, each labeled as either required or preferred at some strength. An arbitrary number of different strengths is allowed. In the discussion of a theory of constraint hierarchies, we present alternate ways of selecting among competing possible solutions, and prove a number of propositions about the relations among these alternatives. We then outline algorithms for satisfying constraint hierarchies, and ways in which we have used constraint hierarchies in a number of programming languages and systems.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号