Abstract interface class that provides virtual methods to access and run implementations of the algorithms. It is associated with the Algorithm class and supports the methods for computation and finalization of the algorithm results in the batch, distributed, and online modes. The methods of the container are defined in derivative containers defined for each algorithm.
More...
template<ComputeMode mode>
class daal::algorithms::interface1::AlgorithmContainerImpl< mode >
- Template Parameters
-
Default constructor
- Parameters
-
[in] | daalEnv | Pointer to the structure that contains information about the environment |
Retrieves final results of the algorithm
- Returns
- Pointer to the final results of the algorithm
virtual services::Status resetCompute |
( |
| ) |
|
|
inlinevirtual |
virtual services::Status resetFinalizeCompute |
( |
| ) |
|
|
inlinevirtual |
Sets arguments of the algorithm
- Parameters
-
[in] | in | Pointer to the input arguments of the algorithm |
[in] | pres | Pointer to the partial results of the algorithm |
[in] | par | Pointer to the parameters of the algorithm |
Sets partial results of the algorithm
- Parameters
-
[in] | pres | Pointer to the partial results of the algorithm |
void setResult |
( |
Result * |
res | ) |
|
|
inline |
Sets final results of the algorithm
- Parameters
-
[in] | res | Pointer to the final results of the algorithm |
virtual services::Status setupCompute |
( |
| ) |
|
|
inlinevirtual |
virtual services::Status setupFinalizeCompute |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: