Please read the remarks about programming problems for this course.


This assignment is the second of three parts.

Add dataflow constraints to your API. Your dataflow constraint API should include at least the ability to get and set constrained variables with automatic generation of dependencies. Consider ways to make the constraints easier for clients to use; for example, providing custom assignment and conversion operators and a syntactically pleasant way to assign a formula to a constrained variable.

To demonstrate the functionality of your constraint API, you should alter your existing application in some way to use dataflow constraints. If the modification to your existing API is minimal, consider writing a second, much similar test application that more fully exercises your constraint API.

When the assignment is due, be prepared to demonstrate your dataflow constraint implementation in class and demonstrate its use in your enhanced application (or the simpler, demo application). A slide or two illustrating your design would be helpful.

After your presentation submit your source files to eclass.e.southern.edu.