Package localsolver

Interface LSLambdaFunction2


  • public interface LSLambdaFunction2
    Lambda function interface. This particular interface is used to instantiate LSOperator.LambdaFunction in LocalSolver. A lambda function is a particular LSExpression composed of two parts:
    • The arguments of the function (which are also LSExpression of type LSOperator.Argument.
    • The body of the function. The body is an LSExpression that will be used to evaluate the result of the function. The body can be any LSExpression composed of any operands and operators supported by LocalSolver.
    Since:
    9.5