Computes the Sum of functions algorithm in the batch processing mode.
More...
◆ Batch() [1/2]
Constructs the Sum of functions algorithm in the batch processing mode
- Parameters
-
context | Context to manage the Sum of functions algorithm |
numberOfTerms | Number of terms in the objectiove function that can be represent as sum |
◆ Batch() [2/2]
Constructs the Sum of functions algorithm by copying input objects and parameters of another Sum of functions algorithm
- Parameters
-
context | Context to manage the Sum of functions algorithm |
other | An algorithm to be used as the source to initialize the input objects and parameters of this algorithm |
◆ clone()
Returns the newly allocated Sum of functions algorithm with a copy of input objects and parameters of this Sum of functions algorithm
- Parameters
-
context | Context to manage the Sum of functions algorithm |
- Returns
- The newly allocated algorithm
◆ dispose()
Releases the memory allocated for the native algorithm object
Implements Disposable.
◆ getResult()
Return the result of the algorithm
- Returns
- Result of the algorithm
◆ setPointersToIface()
void setPointersToIface |
( |
| ) |
|
Sets correspond pointers to the native side. Must be called in inherited class constructor after input and parameter initializations.
◆ setResult()
void setResult |
( |
Result |
result | ) |
|
Registers user-allocated memory to store the results of computing the Sum of functions in the batch processing mode
- Parameters
-
result | Structure to store results of computing the Sum of functions |
◆ cBatchIface
Pointer to the inner implementation of the service callback functionality
◆ input
◆ parameter
Parameters of the algorithm
The documentation for this class was generated from the following file:
- optimization_solver/sum_of_functions/Batch.java