public interface LSFunction2
LSOperator.Function in LocalSolver. A 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.createFunction(localsolver.LSFunction2)
with two LSOperator.Argument. Your implementation must return an
LSExpression that will be used as the body of your LocalSolver function.