SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BmrmStatistics.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  * Copyright (C) 2012 Michal Uricar, uricamic@cmp.felk.cvut.cz
8  *
9  */
10 
11 #ifndef BMRM_RETURN_VALUE_H_
12 #define BMRM_RETURN_VALUE_H_
13 
14 #include <shogun/lib/config.h>
15 
16 #include <shogun/lib/common.h>
18 #include <shogun/lib/SGVector.h>
19 
20 namespace shogun
21 {
22 
25 {
28  {
29  nIter = 0;
30  nCP = 0;
31  nzA = 0;
32  Fp = 0;
33  Fd = 0;
34  qp_exitflag = 0;
35  exitflag = 0;
36  };
37 
39  virtual ~BmrmStatistics() { };
40 
42  bool load_serializable(CSerializableFile* file, const char* prefix="") { return false; }
43 
45  bool save_serializable(CSerializableFile* file, const char* prefix="") { return false; }
46 
48  uint32_t nIter;
49 
51  uint32_t get_n_iters() const { return nIter; }
52 
54  uint32_t nCP;
55 
57  uint32_t nzA;
58 
61 
64 
66  int8_t qp_exitflag;
67 
73  int8_t exitflag;
74 
77 
80 
83 
86 
89 
92 };
93 
94 }
95 #endif
bool load_serializable(CSerializableFile *file, const char *prefix="")
uint32_t get_n_iters() const
SGVector< float64_t > hist_wdist
SGVector< float64_t > hist_Fd
SGVector< float64_t > get_hist_Fd_vector() const
SGVector< float64_t > get_hist_Fp_vector() const
double float64_t
Definition: common.h:50
SGVector< float64_t > hist_Fp
SGVector< float64_t > get_hist_wdist_vector() const
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
bool save_serializable(CSerializableFile *file, const char *prefix="")

SHOGUN Machine Learning Toolbox - Documentation