-- File: Equal.cdl -- Created: Mon Jan 14 09:54:44 1991 -- Author: Arnaud BOUZY -- ---Copyright: Matra Datavision 1991 class Equal from Expr inherits SingleRelation from Expr uses GeneralExpression from Expr, GeneralRelation from Expr, AsciiString from TCollection raises NumericError from Standard is Create(exp1 : GeneralExpression ; exp2 : GeneralExpression) ---Purpose: Creates the relation = . returns mutable Equal; IsSatisfied(me) returns Boolean; Simplified(me) ---Purpose: returns a GeneralRelation after replacement of -- NamedUnknowns by an associated expression and after -- values computation. returns mutable GeneralRelation raises NumericError; Simplify(me : mutable) ---Purpose: Replaces NamedUnknowns by an associated expressions -- and computes values in . raises NumericError; Copy(me) ---Purpose: Returns a copy of having the same unknowns and functions. returns mutable like me; String(me) ---Purpose: returns a string representing in a readable way. returns AsciiString; end Equal;