Abstract

A constraint is a relation that should be satisfied, for example, that a line remain horizontal, that a resistor in an electrical circuit simulation obey Ohms Law, or that the height of a bar in a bar chart be proportional to some number in an application program. Constraints have been used in a variety of languages and systems, particularly in user interface tool kits, in planning and scheduling, and in simulation. They provide an intuitive declarative style of programming that integrates well with object-oriented systems. This tutorial teaches what constraints are, how to use them in applications such as user interfaces, how to implement them (including how to implement constraint hierarchies), and how to embed them in object-oriented and logic programming languages. You dont have to know anything about constraints, but it would be helpful to have a strong background in programming languages.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call