InternalFunctionExpression
- java.lang.Object
-  
  - com.dashoptimization.objects.Expression
-  
    - com.dashoptimization.objects.AbstractExpression
-  
      - com.dashoptimization.objects.FormulaExpression
-  
        - com.dashoptimization.objects.InternalFunctionExpression
 
 
 
 
-  
   
 public final class InternalFunctionExpression extends FormulaExpression A call to an internal function a non-linear formula.- Since:
- 43.00
 
-  
    
   -  
         Nested Class SummaryModifier and Type Class Description static classInternalFunctionExpression.FunctionTypeEnumeration for internal functions.
 -  
         Constructor SummaryConstructor Description InternalFunctionExpression(InternalFunctionExpression.FunctionType function, Expression argument)Create a new call to an internal unary function.InternalFunctionExpression(InternalFunctionExpression.FunctionType function, Expression[] arguments)Create a new call to an internal function.InternalFunctionExpression(InternalFunctionExpression.FunctionType function, Expression firstArgument, Expression secondArgument)Create a new call to an internal binary function.InternalFunctionExpression(InternalFunctionExpression.FunctionType function, Expression firstArgument, Expression secondArgument, Expression... moreArguments)Create a new call to an internal function with arbitrary arguments.
 -  
         Method SummaryModifier and Type Method Description doubleevaluate(double[] solution)Compute the value of this expression with respect to the given solution vector (which is not required to be feasible).voidextract(PostfixExtractor extractor)Extract this expression into postfix notation.Expression[]getArguments()InternalFunctionExpression.FunctionTypegetFunction()java.lang.StringtoString()-  
           Methods inherited from class com.dashoptimization.objects.FormulaExpressionextract, extract
 -  
           Methods inherited from class com.dashoptimization.objects.AbstractExpressioneq, eq, geq, geq, in, leq, leq
 
-  
           
 
-  
         
-  
    
   -  
         Constructor Detail-  InternalFunctionExpressionpublic InternalFunctionExpression(InternalFunctionExpression.FunctionType function, Expression[] arguments) Create a new call to an internal function.- Parameters:
- 
          function- Function to call.
- 
          arguments- Arguments for function call.
- Since:
- 43.00
 
 -  InternalFunctionExpressionpublic InternalFunctionExpression(InternalFunctionExpression.FunctionType function, Expression argument) Create a new call to an internal unary function.- Parameters:
- 
          function- Function called.
- 
          argument- Argument to function call.
- Since:
- 43.00
 
 -  InternalFunctionExpressionpublic InternalFunctionExpression(InternalFunctionExpression.FunctionType function, Expression firstArgument, Expression secondArgument) Create a new call to an internal binary function.- Parameters:
- 
          function- Function called.
- 
          firstArgument- First to function call.
- 
          secondArgument- Second to function call.
- Since:
- 43.00
 
 -  InternalFunctionExpressionpublic InternalFunctionExpression(InternalFunctionExpression.FunctionType function, Expression firstArgument, Expression secondArgument, Expression... moreArguments) Create a new call to an internal function with arbitrary arguments.- Parameters:
- 
          function- Function called.
- 
          firstArgument- First to function call.
- 
          secondArgument- Second to function call.
- 
          moreArguments- Additional arguments to function call.
- Since:
- 43.00
 
 
-  
 -  
         Method Detail-  getFunctionpublic InternalFunctionExpression.FunctionType getFunction() 
 -  getArgumentspublic Expression[] getArguments() 
 -  evaluatepublic double evaluate(double[] solution) Compute the value of this expression with respect to the given solution vector (which is not required to be feasible).- Specified by:
- 
          evaluatein classExpression
- Parameters:
- 
          solution- Solution values for which the expression is evaluated.
- Since:
- 43.00
 
 -  extractpublic void extract(PostfixExtractor extractor) Extract this expression into postfix notation.- Specified by:
- 
          extractin classFormulaExpression
- Parameters:
- 
          extractor- The extractor to which the expression is extract.
- Since:
- 43.00
 
 -  toStringpublic java.lang.String toString() Used in these examples: - GlobalRHSParametrics
- IISExample
- Knapsack
- Trimloss
 - Overrides:
- 
          toStringin classjava.lang.Object
- 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.
 
