22 #ifndef __SORTING_TYPES_H__
23 #define __SORTING_TYPES_H__
25 #include "data_management/data/homogen_numeric_table.h"
68 lastResultId = sortedData
80 class DAAL_EXPORT Input :
public daal::algorithms::Input
84 Input(
const Input& other);
93 data_management::NumericTablePtr
get(InputId id)
const;
100 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
107 virtual services::Status check(
const Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
115 class DAAL_EXPORT Result :
public daal::algorithms::Result
118 DECLARE_SERIALIZABLE_CAST(Result);
121 virtual ~Result() {};
128 template <
typename algorithmFPType>
129 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const int method);
136 data_management::NumericTablePtr
get(ResultId id)
const;
143 void set(ResultId
id,
const data_management::NumericTablePtr &value);
151 virtual services::Status check(
const daal::algorithms::Input *in,
const Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
155 template<
typename Archive,
bool onDeserialize>
156 services::Status serialImpl(Archive *arch)
158 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
161 typedef services::SharedPtr<Result> ResultPtr;
165 using interface1::Input;
166 using interface1::Result;
167 using interface1::ResultPtr;
daal::algorithms::sorting::Method
Method
Definition: sorting_types.h:46
daal::algorithms::sorting::data
Definition: sorting_types.h:57
daal
Definition: algorithm_base_common.h:31
daal::algorithms::sorting::sortedData
Definition: sorting_types.h:67
daal::algorithms::sorting::defaultDense
Definition: sorting_types.h:48
daal::algorithms::sorting::ResultId
ResultId
Definition: sorting_types.h:65
daal::algorithms::sorting::interface1::Result
Provides methods to access final results obtained with the compute() method of the sorting algorithm ...
Definition: sorting_types.h:115
daal::algorithms::sorting::InputId
InputId
Definition: sorting_types.h:55
daal::algorithms::math::abs::value
Definition: abs_types.h:86