48 #ifndef __ENGINE__TYPES__H__
49 #define __ENGINE__TYPES__H__
51 #include "algorithms/algorithm.h"
52 #include "services/daal_defines.h"
53 #include "data_management/data/numeric_table.h"
54 #include "data_management/data/homogen_numeric_table.h"
98 class DAAL_EXPORT Input :
public daal::algorithms::Input
106 Input(
const Input& other);
115 data_management::NumericTablePtr
get(InputId id)
const;
122 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
131 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
138 class DAAL_EXPORT Result :
public daal::algorithms::Result
154 template <
typename algorithmFPType>
155 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
162 data_management::NumericTablePtr
get(ResultId id)
const;
169 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
179 virtual services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *parameter,
int method)
const DAAL_C11_OVERRIDE;
183 template<
typename Archive,
bool onDeserialize>
184 services::Status serialImpl(Archive *arch)
186 daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
188 return services::Status();
191 services::Status serializeImpl(data_management::InputDataArchive *arch) DAAL_C11_OVERRIDE
193 serialImpl<data_management::InputDataArchive, false>(arch);
195 return services::Status();
198 services::Status deserializeImpl(
const data_management::OutputDataArchive *arch) DAAL_C11_OVERRIDE
200 serialImpl<const data_management::OutputDataArchive, true>(arch);
202 return services::Status();
205 typedef services::SharedPtr<Result> ResultPtr;
207 using interface1::Input;
208 using interface1::Result;
209 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:57
daal::algorithms::engines::InputId
InputId
Definition: engine_types.h:75
daal::algorithms::engines::interface1::Result
Provides methods to access the result obtained with the compute() method of the engine.
Definition: engine_types.h:138
daal::algorithms::engines::tableToFill
Definition: engine_types.h:77
daal::algorithms::engines::randomNumbers
Definition: engine_types.h:86
daal::algorithms::engines::ResultId
ResultId
Definition: engine_types.h:84