Tree Drawing Using Constraint Logic Programming

This assignment consists of some simple programming exercises. The main goal is to get you comfortable doing logic programming and constraint logic programming, not to attack larger-scale problems as in previous assignments. As you know, you have already written Prolog programs for this class; ECLiPSe is built by adding features to Prolog. All code in this assignment should be tested by running it in ECLiPSe, just as in assignment 2. Be especially sure to do problems 3 and 6. In the next assignment, we will try to obtain more efficient solutions to those problems, using dynamic programming rather than backtracking.