Provides implementations of the compute and finalizeCompute methods of the Algorithm class. The methods of the class support different computation modes: batch, distributed and online(see ComputeMode)
More...
template<ComputeMode mode>
class daal::algorithms::interface1::AlgorithmImpl< mode >
- Template Parameters
-
◆ AlgorithmImpl()
◆ checkComputeParams()
◆ checkFinalizeComputeParams()
Validates parameters of the finalizeCompute method
Implements Algorithm< mode >.
Reimplemented in Distributed< step5Master, algorithmFPType, method >, Distributed< step4Local, algorithmFPType, method >, Distributed< step3Master, algorithmFPType, method >, Distributed< step2Local, algorithmFPType, method >, Distributed< step2Master, algorithmFPType, method >, Distributed< step3Local, algorithmFPType, method >, Distributed< step3Local, algorithmFPType, method >, Distributed< step2Master, algorithmFPType, method >, Distributed< step1Local, algorithmFPType, method >, DistributedIface< step2Master >, Distributed< step2Master, algorithmFPType, method >, Distributed< step2Master, algorithmFPType, method >, Distributed< step2Master, algorithmFPType, method >, Distributed< step1Local, algorithmFPType, method >, and Online< algorithmFPType, method >.
◆ checkPartialResult()
Validates result parameters of the finalizeCompute method
Implements Algorithm< mode >.
◆ checkResult()
Validates result parameters of the compute method
Implements AlgorithmIface.
◆ compute()
Computes final results of the algorithm in the batch mode, or partial results of the algorithm in online and distributed modes.
◆ computeNoThrow()
Computes final results of the algorithm in the batch mode, or partial results of the algorithm in online and distributed modes without possibility of throwing an exception.
◆ finalizeCompute()
Computes final results of the algorithm using partial results in online and distributed modes.
◆ finalizeComputeNoThrow()
Computes final results of the algorithm using partial results in online and distributed modes.
◆ hostApp()
services::HostAppIfacePtr hostApp |
( |
| ) |
|
Returns HostAppIface used by the class
- Returns
- HostAppIface used by the class
◆ setHostApp()
void setHostApp |
( |
const services::HostAppIfacePtr & |
pHost | ) |
|
Sets HostAppIface to be used by the class
- Parameters
-
pHost | to be used by the class |
The documentation for this class was generated from the following file: