|
|
Constraint --> Constraint , Constraint conjunction
| Constraint ; Constraint disjunction
| Expr = Expr equation
| Expr =< Expr inequation
| Expr >= Expr inequation
Expr --> Variable variable (attributed or not)
| Evaluable evaluable expression
| + Expr unary plus
| - Expr unary minus
| Expr + Expr binary plus
| Expr - Expr binary minus
| Expr * Expr binary multiplication
| Expr / Expr binary division
| Expr ** Evaluable raise to power
| abs(Expr) absolute value
| sin(Expr) trigonometric sine
| cos(Expr) trigonometric cosine
| min(Expr,Expr) minimum of the two arguments
| max(Expr,Expr) maximum of the two arguments
| Constraint is not a structure or its main functor is neither '=' nor '=<' nor '>=' | type_error('expected a constraint, found', Constraint) | ||
|
| ExprLin is either a atom or a list or a FD variable | type_error('expected a linear expression, found', ExprLin) | ||
| ExprLin is not a linear expression | system_error('expected a linear expression') | ||
| Inf (or Sup) is neither a variable nor a CLP(R) variable nor a float | type_error('float', Inf) | ||
|
| Vars is not a list | type_error(list, Vars) | ||