public interface LSLambdaFunction2
LSOperator.LambdaFunction
in LocalSolver. A lambda function is a
particular LSExpression
composed of two parts:
LSOperator.Argument
.Modifier and Type | Method and Description |
---|---|
LSExpression |
call(LSExpression a,
LSExpression b)
Evaluate and returns the body of the function.
|
LSExpression call(LSExpression a, LSExpression b)
LSModel.createLambdaFunction(localsolver.LSLambdaFunction2)
with two LSOperator.Argument
. Your implementation must return an
LSExpression that will be used as the body of your LocalSolver function.