Package com.hexaly.optimizer
Interface HxLambdaFunction0
public interface HxLambdaFunction0
Lambda function interface. This particular interface is used to instantiate
HxOperator.LambdaFunction in Hexaly Optimizer. A lambda function is a
particular HxExpression composed of two parts:
- The arguments of the function (which are also HxExpression of type
HxOperator.Argument. - The body of the function. The body is an HxExpression that will be used to evaluate the result of the function. The body can be any HxExpression composed of any operands and operators supported by Hexaly Optimizer.
- Since:
- 9.5
-
Method Summary
-
Method Details
-
call
HxExpression call()Evaluates and returns the body of the function. This particular method will be called byHxModel.createLambdaFunction(hexaly.HxLambdaFunction0). Your implementation must return an HxExpression that will be used as the body of your Hexaly Optimizer function.
-