AbstractExpression
- java.lang.Object
-  
  - com.dashoptimization.objects.Expression
-  
    - com.dashoptimization.objects.AbstractExpression
 
 
-  
   - Direct Known Subclasses:
- 
     ConstantExpression,FormulaExpression,LinExpression,LinTerm,QuadExpression,QuadTerm,SumExpression
 
 public abstract class AbstractExpression extends Expression Default implementation of expressions.- Since:
- 43.00
 
-  
    
   -  
         Constructor SummaryConstructor Description AbstractExpression()
 -  
         Method SummaryModifier and Type Method Description Inequality.Definitioneq(double rhs)Create an "equals" constraint with this expression as left-hand side.Inequality.Definitioneq(Expression rhs)Create an "equals" constraint with this expression as left-hand side.Inequality.Definitiongeq(double rhs)Create a "greater than or equal" constraint with this expression as left-hand side.Inequality.Definitiongeq(Expression rhs)Create a "greater than or equal" constraint with this expression as left-hand side.Inequality.Definitionin(double lb, double ub)Create a range constraint that bounds this expression from below and above.Inequality.Definitionleq(double rhs)Create a "less than or equal" constraint with this expression as left-hand side.Inequality.Definitionleq(Expression rhs)Create a "less than or equal" constraint with this expression as left-hand side.
 
-  
         
-  
    
   -  
         Method Detail-  leqpublic Inequality.Definition leq(double rhs) Create a "less than or equal" constraint with this expression as left-hand side.- Specified by:
- 
          leqin classExpression
- Parameters:
- 
          rhs- Right-hand side of new constraint.
- Returns:
- The new constraint.
- Since:
- 43.00
 
 -  leqpublic Inequality.Definition leq(Expression rhs) Create a "less than or equal" constraint with this expression as left-hand side.- Specified by:
- 
          leqin classExpression
- Parameters:
- 
          rhs- Right-hand side of new constraint.
- Returns:
- The new constraint.
- Since:
- 43.00
 
 -  geqpublic Inequality.Definition geq(double rhs) Create a "greater than or equal" constraint with this expression as left-hand side.- Specified by:
- 
          geqin classExpression
- Parameters:
- 
          rhs- Right-hand side of new constraint.
- Returns:
- The new constraint.
- Since:
- 43.00
 
 -  geqpublic Inequality.Definition geq(Expression rhs) Create a "greater than or equal" constraint with this expression as left-hand side.- Specified by:
- 
          geqin classExpression
- Parameters:
- 
          rhs- Right-hand side of new constraint.
- Returns:
- The new constraint.
- Since:
- 43.00
 
 -  eqpublic Inequality.Definition eq(double rhs) Create an "equals" constraint with this expression as left-hand side.- Specified by:
- 
          eqin classExpression
- Parameters:
- 
          rhs- Right-hand side of new constraint.
- Returns:
- The new constraint.
- Since:
- 43.00
 
 -  eqpublic Inequality.Definition eq(Expression rhs) Create an "equals" constraint with this expression as left-hand side.- Specified by:
- 
          eqin classExpression
- Parameters:
- 
          rhs- Right-hand side of new constraint.
- Returns:
- The new constraint.
- Since:
- 43.00
 
 -  inpublic Inequality.Definition in(double lb, double ub) Create a range constraint that bounds this expression from below and above.- Specified by:
- 
          inin classExpression
- Parameters:
- 
          lb- Lower bound for this expression.
- 
          ub- Upper bound for this expression.
- Returns:
- The new constraint.
- Since:
- 43.00
 
 
-  
 
-  
         
© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
 
