22 #ifndef __CORDISTANCE_TYPES_H__
23 #define __CORDISTANCE_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/numeric_table.h"
27 #include "services/daal_defines.h"
28 #include "data_management/data/homogen_numeric_table.h"
29 #include "data_management/data/symmetric_matrix.h"
44 namespace correlation_distance
72 lastResultId = correlationDistance
84 class DAAL_EXPORT Input :
public daal::algorithms::Input
88 Input(
const Input& other) : daal::algorithms::Input(other){}
97 data_management::NumericTablePtr
get(InputId id)
const;
104 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
111 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
118 class DAAL_EXPORT Result :
public daal::algorithms::Result
121 DECLARE_SERIALIZABLE_CAST(Result);
124 virtual ~Result() {};
132 template <
typename algorithmFPType>
133 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
140 data_management::NumericTablePtr
get(ResultId id)
const;
147 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
155 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
159 template<
typename Archive,
bool onDeserialize>
160 services::Status serialImpl(Archive *arch)
162 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
165 typedef services::SharedPtr<Result> ResultPtr;
168 using interface1::Input;
169 using interface1::Result;
170 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:31
daal::algorithms::correlation_distance::InputId
InputId
Definition: correlation_distance_types.h:60
daal::algorithms::correlation_distance::interface1::Result
Results obtained with compute() method of the correlation distance algorithm in the batch processing ...
Definition: correlation_distance_types.h:118
daal::algorithms::correlation_distance::Method
Method
Definition: correlation_distance_types.h:51
daal::algorithms::correlation_distance::defaultDense
Definition: correlation_distance_types.h:53
daal::algorithms::correlation_distance::data
Definition: correlation_distance_types.h:62
daal::algorithms::correlation_distance::ResultId
ResultId
Definition: correlation_distance_types.h:69
daal::algorithms::correlation_distance::correlationDistance
Definition: correlation_distance_types.h:71