localsolverblackbox
public interface LSBBNativeFunction
LSBBModel.createNativeFunction(localsolverblackbox.LSBBNativeFunction).
LSBBOperator.Call. The first operand must be your
native function. The other operands must be LSBBExpressions. Their value will
be made accessible to your native function through the native context.
Note 1: Most of the time your native function will be called
when the solver is in state LSBBState.Running. Do not attempt to call
any method of the solver (to retrieve statistics, values of LSExpressions or
whatever) in that state or an exception will be thrown. The only accessible
function is LocalSolverBlackBox.stop().
| Modifier and Type | Method and Description |
|---|---|
double |
call(LSBBNativeContext context)
The function to call.
|
double call(LSBBNativeContext context)
context - Native context containing the arguments of the function.