SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IndividualJobResultAggregator.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2013 Soumyajit De
8  */
9 
10 #ifndef INDIVIDUAL_JOB_RESULT_AGGREGATOR_H_
11 #define INDIVIDUAL_JOB_RESULT_AGGREGATOR_H_
12 
13 #include <shogun/lib/config.h>
15 
16 #ifdef HAVE_EIGEN3
17 
18 namespace shogun
19 {
20 class CJobResult;
21 template<class T> class SGVector;
22 template<class RetType, class OperandType> class CLinearOperator;
23 
32 {
33 public:
36 
48  linear_operator, SGVector<float64_t> vector,
49  const float64_t& const_multiplier);
50 
53 
58  virtual void finalize();
59 
61  virtual const char* get_name() const
62  {
63  return "IndividualJobResultAggregator";
64  }
65 private:
68 
70  SGVector<float64_t> m_vector;
71 
73  const float64_t m_const_multiplier;
74 
76  void init();
77 };
78 
79 }
80 
81 #endif // HAVE_EIGEN3
82 #endif // INDIVIDUAL_JOB_RESULT_AGGREGATOR_H_

SHOGUN Machine Learning Toolbox - Documentation