Package com.hexaly.optimizer
Interface HxLambdaFunction2
public interface HxLambdaFunction2
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
Modifier and TypeMethodDescriptioncall(HxExpression a, HxExpression b) Evaluates and returns the body of the function.
-
Method Details
-
call
Evaluates and returns the body of the function. This particular method will be called byHxModel.createLambdaFunction(hexaly.HxLambdaFunction2)with twoHxOperator.Argument. Your implementation must return an HxExpression that will be used as the body of your Hexaly Optimizer function.
-