SHOGUN
4.2.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
shogun
structure
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
#ifdef USE_GPL_SHOGUN
16
17
#include <
shogun/lib/common.h
>
18
#include <
shogun/io/SerializableFile.h
>
19
#include <
shogun/lib/SGVector.h
>
20
21
namespace
shogun
22
{
23
25
struct
BmrmStatistics
26
{
28
BmrmStatistics()
29
{
30
nIter = 0;
31
nCP = 0;
32
nzA = 0;
33
Fp = 0;
34
Fd = 0;
35
qp_exitflag = 0;
36
exitflag = 0;
37
};
38
40
virtual
~BmrmStatistics() { };
41
43
bool
load_serializable(CSerializableFile* file,
const
char
* prefix=
""
) {
return
false
; }
44
46
bool
save_serializable(CSerializableFile* file,
const
char
* prefix=
""
) {
return
false
; }
47
49
uint32_t nIter;
50
52
uint32_t get_n_iters()
const
{
return
nIter; }
53
55
uint32_t nCP;
56
58
uint32_t nzA;
59
61
float64_t
Fp;
62
64
float64_t
Fd;
65
67
int8_t qp_exitflag;
68
74
int8_t exitflag;
75
77
SGVector< float64_t >
hist_Fp;
78
80
SGVector< float64_t >
get_hist_Fp_vector()
const
{
return
hist_Fp; };
81
83
SGVector< float64_t >
hist_Fd;
84
86
SGVector< float64_t >
get_hist_Fd_vector()
const
{
return
hist_Fd; };
87
89
SGVector< float64_t >
hist_wdist;
90
92
SGVector< float64_t >
get_hist_wdist_vector()
const
{
return
hist_wdist; };
93
};
94
95
}
96
#endif //USE_GPL_SHOGUN
97
#endif
config.h
SerializableFile.h
shogun::SGVector< float64_t >
float64_t
double float64_t
Definition:
common.h:50
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
common.h
SGVector.h
SHOGUN
Machine Learning Toolbox - Documentation