FUNCTIONS OF THE DIAGRAM OBJECT

    The constructor of the object takes an array of points, and the number of points,

                    diagram(pointArray[], int numPoints)

   The following functions are for the insertion of the predictes:
 

                    These functions are used to tell the hypothesis of the problem to the object as the input string is being parsed.
                    The object maintains a list of polynomial equations which represent the constraints of the problem.

The function used to reduce the polynomial equations to a triangular form is :

It also contains an object called DisplayFrame which opens up a frame window on the screen showing the diagram.
To draw the diagram, following functions are used : -