SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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/common.h>
16 #include <shogun/lib/SGVector.h>
17 
18 namespace shogun
19 {
20 
23 {
26  {
27  nIter = 0;
28  nCP = 0;
29  nzA = 0;
30  Fp = 0;
31  Fd = 0;
32  qp_exitflag = 0;
33  exitflag = 0;
34  };
35 
37  virtual ~BmrmStatistics() { };
38 
40  bool load_serializable(CSerializableFile* file, const char* prefix="") { return false; }
41 
43  bool save_serializable(CSerializableFile* file, const char* prefix="") { return false; }
44 
46  uint32_t nIter;
47 
49  uint32_t get_n_iters() const { return nIter; }
50 
52  uint32_t nCP;
53 
55  uint32_t nzA;
56 
59 
62 
64  int8_t qp_exitflag;
65 
71  int8_t exitflag;
72 
75 
78 
81 
84 
87 
90 };
91 
92 }
93 #endif

SHOGUN Machine Learning Toolbox - Documentation