C++ API Reference for Intel® Data Analytics Acceleration Library 2019

algorithm_quality_metric_batch.h
1 /* file: algorithm_quality_metric_batch.h */
2 /*******************************************************************************
3 * Copyright 2014-2018 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 /*
17 //++
18 // Interface for the quality metrics in the batch processing mode.
19 //--
20 */
21 
22 #ifndef __ALGORITHM_QUALITY_METRIC_BATCH_H__
23 #define __ALGORITHM_QUALITY_METRIC_BATCH_H__
24 
25 #include "algorithms/analysis.h"
26 
27 namespace daal
28 {
29 namespace algorithms
30 {
34 namespace quality_metric
35 {
36 
40 namespace interface1
41 {
53 class DAAL_EXPORT Batch : public Analysis<batch>
54 {
55 public:
56  Batch() : Analysis<batch>() {}
57  virtual ~Batch() {}
58 
63  virtual void setInput(const algorithms::Input *input) = 0;
64 
69  algorithms::ResultPtr getResult() const
70  {
71  return getResultImpl();
72  }
73 
74 protected:
75  virtual algorithms::ResultPtr getResultImpl() const = 0;
76 };
78 } // namespace interface1
79 using interface1::Batch;
80 
81 } // namespace quality_metric
82 } // namespace algorithms
83 } // namespace daal
84 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::quality_metric::interface1::Batch::getResult
algorithms::ResultPtr getResult() const
Definition: algorithm_quality_metric_batch.h:69
daal::algorithms::quality_metric::interface1::Batch
Provides methods to compute quality metrics of an algorithm in the batch processing mode...
Definition: algorithm_quality_metric_batch.h:53
daal::algorithms::Analysis
Provides methods for execution of operations over data, such as computation of Summary Statistics est...
Definition: analysis.h:68

For more complete information about compiler optimizations, see our Optimization Notice.