## Uses of Class
fuzzydl.milp.Expression

- Packages that use Expression
  Package | Description
  --- | ---
  fuzzydl |
  fuzzydl.milp |

- - ### Uses of Expression in fuzzydl

    Methods in fuzzydl that return Expression
    Modifier and Type | Method and Description
    --- | ---
    `abstract Expression` | Degree.`addToExpression(Expression expr)` Adds the degree to an expression.
    `Expression` | DegreeExpression.`addToExpression(Expression expr)`
    `Expression` | DegreeNumeric.`addToExpression(Expression expr)`
    `Expression` | DegreeVariable.`addToExpression(Expression expr)`
    `Expression` | DegreeExpression.`getExpression()` Gets the expression which defines the degree.
    `Expression` | SomDefuzzifyQuery.`getObjExpression(Variable q)`
    `Expression` | LomDefuzzifyQuery.`getObjExpression(Variable q)`
    `Expression` | MomDefuzzifyQuery.`getObjExpression(Variable q)`
    `abstract Expression` | DefuzzifyQuery.`getObjExpression(Variable q)` Gets the objective expression.
    `abstract Expression` | Degree.`multiplyConstant(java.lang.Double constant)` Multiplies the degree and a real number.
    `Expression` | DegreeExpression.`multiplyConstant(java.lang.Double constant)`
    `Expression` | DegreeNumeric.`multiplyConstant(java.lang.Double constant)`
    `Expression` | DegreeVariable.`multiplyConstant(java.lang.Double constant)`
    `abstract Expression` | Degree.`subtractFromExpression(Expression expr)` Subtracts the degree to an expression.
    `Expression` | DegreeExpression.`subtractFromExpression(Expression expr)`
    `Expression` | DegreeNumeric.`subtractFromExpression(Expression expr)`
    `Expression` | DegreeVariable.`subtractFromExpression(Expression expr)`
    `Expression` | FeatureFunction.`toExpression(Individual a, MILPHelper milp)` Returns a Expression representing the function.

    Methods in fuzzydl with parameters of type Expression
    Modifier and Type | Method and Description
    --- | ---
    `abstract Expression` | Degree.`addToExpression(Expression expr)` Adds the degree to an expression.
    `Expression` | DegreeExpression.`addToExpression(Expression expr)`
    `Expression` | DegreeNumeric.`addToExpression(Expression expr)`
    `Expression` | DegreeVariable.`addToExpression(Expression expr)`
    `abstract Inequation` | Degree.`createInequalityWithDegreeRHS(Expression expr, char inequationType)` Gets an inequality of the form (expression, type, degree).
    `Inequation` | DegreeExpression.`createInequalityWithDegreeRHS(Expression expr, char inequationType)`
    `Inequation` | DegreeNumeric.`createInequalityWithDegreeRHS(Expression expr, char inequationType)`
    `Inequation` | DegreeVariable.`createInequalityWithDegreeRHS(Expression expr, char inequationType)`
    `static Degree` | Degree.`getDegree(Expression expr)` Constructor for an expression degree.
    `abstract Expression` | Degree.`subtractFromExpression(Expression expr)` Subtracts the degree to an expression.
    `Expression` | DegreeExpression.`subtractFromExpression(Expression expr)`
    `Expression` | DegreeNumeric.`subtractFromExpression(Expression expr)`
    `Expression` | DegreeVariable.`subtractFromExpression(Expression expr)`

    Constructors in fuzzydl with parameters of type Expression
    Constructor and Description
    `DegreeExpression(Expression expr)`
    `MaxQuery(Expression expr)`
    `MinQuery(Expression expr)`

  - ### Uses of Expression in fuzzydl.milp

    Methods in fuzzydl.milp that return Expression
    Modifier and Type | Method and Description
    --- | ---
    `static Expression` | Expression.`addConstant(Expression expr, java.lang.Double constant)` Adds a double constant to an expression.
    `static Expression` | Expression.`addExpressions(Expression expr1, Expression expr2)` Adds two expressions.
    `static Expression` | Expression.`addTerm(Expression expr, Term term)` Adds a term to an expression.
    `Expression` | Expression.`clone()` Gets a copy of an expression.
    `static Expression` | Expression.`multiplyConstant(Expression expr, java.lang.Double constant)` Multiplies a double constant and an expression.
    `static Expression` | Expression.`negateExpression(Expression expr)` Changes the sign of all the elements of an expression.
    `static Expression` | Expression.`subtractExpressions(Expression expr1, Expression expr2)` Substracts two expressions.

    Methods in fuzzydl.milp with parameters of type Expression
    Modifier and Type | Method and Description
    --- | ---
    `static Expression` | Expression.`addConstant(Expression expr, java.lang.Double constant)` Adds a double constant to an expression.
    `static Expression` | Expression.`addExpressions(Expression expr1, Expression expr2)` Adds two expressions.
    `void` | MILPHelper.`addNewConstraint(Expression expr, char constraintType)` Adds a new inequality of the form: expr constraintType 0.
    `void` | MILPHelper.`addNewConstraint(Expression expr, char constraintType, Degree degree)` Adds a new inequality of the form: expr constraintType degree.
    `void` | MILPHelper.`addNewConstraint(Expression expr, char constraintType, double n)` Adds a new inequality of the form: expr constraintType n.
    `static Expression` | Expression.`addTerm(Expression expr, Term term)` Adds a term to an expression.
    `static Expression` | Expression.`multiplyConstant(Expression expr, java.lang.Double constant)` Multiplies a double constant and an expression.
    `static Expression` | Expression.`negateExpression(Expression expr)` Changes the sign of all the elements of an expression.
    `Solution` | MILPHelper.`optimize(Expression objective)` It optimizes an expression.
    `static Expression` | Expression.`subtractExpressions(Expression expr1, Expression expr2)` Substracts two expressions.

    Constructors in fuzzydl.milp with parameters of type Expression
    Constructor and Description
    `Expression(Expression expr)`
    `Inequation(Expression expr, char type)`