48 #ifndef __ALGORITHM_QUALITY_METRIC_SET_TYPES_H__ 49 #define __ALGORITHM_QUALITY_METRIC_SET_TYPES_H__ 51 #include "data_management/data/input_collection.h" 52 #include "algorithms/algorithm_quality_metric_batch.h" 58 namespace quality_metric_set
74 class DAAL_EXPORT InputAlgorithmsCollection
81 InputAlgorithmsCollection(
size_t n = 0);
83 virtual ~InputAlgorithmsCollection();
90 const services::SharedPtr<quality_metric::Batch>& operator[](
size_t k)
const;
98 services::SharedPtr<quality_metric::Batch>& operator[](
size_t k);
116 size_t getKeyByIndex(
int idx);
119 services::Collection<services::SharedPtr<quality_metric::Batch> > _qualityMetrics;
120 services::Collection<size_t> _keys;
121 services::SharedPtr<quality_metric::Batch> *nullPtr;
128 class DAAL_EXPORT InputDataCollection :
public data_management::KeyValueInputCollection
131 InputDataCollection();
138 void add(
size_t k,
const algorithms::InputPtr& ptr);
145 algorithms::InputPtr getInput(
size_t key)
const;
147 virtual ~InputDataCollection() {}
149 typedef services::SharedPtr<InputDataCollection> InputDataCollectionPtr;
155 class DAAL_EXPORT ResultCollection :
public data_management::KeyValueDataCollection
160 void add(
size_t key,
const algorithms::ResultPtr& ptr);
162 algorithms::ResultPtr getResult(
size_t key)
const;
164 virtual ~ResultCollection() {}
166 typedef services::SharedPtr<ResultCollection> ResultCollectionPtr;
169 using interface1::InputAlgorithmsCollection;
170 using interface1::InputDataCollection;
171 using interface1::InputDataCollectionPtr;
172 using interface1::ResultCollection;
173 using interface1::ResultCollectionPtr;
daal
Definition: algorithm_base_common.h:57
daal::services::interface1::SharedPtr
Shared pointer that retains shared ownership of an object through a pointer. Several SharedPtr object...
Definition: daal_shared_ptr.h:187
daal::algorithms::quality_metric_set::interface1::ResultCollection
Class that implements functionality of the collection of result objects of the quality metrics algori...
Definition: algorithm_quality_metric_set_types.h:155
daal::services::interface1::Collection
Class that implements functionality of the Collection container.
Definition: collection.h:69