NumericStatisticalSummary.h
Go to the documentation of this file.
1
/* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2
3
This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5
TerraLib is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
the Free Software Foundation, either version 3 of the License,
8
or (at your option) any later version.
9
10
TerraLib is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with TerraLib. See COPYING. If not, write to
17
TerraLib Team at <terralib-team@terralib.org>.
18
*/
19
20
/*!
21
\file terralib/statistics/NumericStatisticsSummary.h
22
23
\brief A structure to hold the set of statistics from a set of numerical values.
24
*/
25
26
#ifndef __TERRALIB_STATISTICAL_CORE_INTERNAL_NUMERICSTATISTICALSUMMARY_H
27
#define __TERRALIB_STATISTICAL_CORE_INTERNAL_NUMERICSTATISTICALSUMMARY_H
28
29
// TerraLib
30
#include "
Config.h
"
31
32
// STL
33
#include <complex>
34
#include <map>
35
#include <vector>
36
37
namespace
te
38
{
39
namespace
stat
40
{
41
/*!
42
\struct NumericStatisticalSummary
43
44
\brief A structure to hold the set of statistics from a set of numerical values.
45
*/
46
struct
TESTATEXPORT
NumericStatisticalSummary
47
{
48
public
:
49
50
/*! \brief Constructor. */
51
NumericStatisticalSummary
();
52
53
/*!
54
\brief Copy constructor.
55
56
\param rhs The right-hand-side copy used to copy from.
57
*/
58
NumericStatisticalSummary
(
const
NumericStatisticalSummary
& rhs);
59
60
/*! \brief Destructor. */
61
~
NumericStatisticalSummary
();
62
63
/*!
64
\brief Assignment operator.
65
66
\param rhs The right-hand-side copy used to copy from.
67
68
\return A reference to this object.
69
*/
70
NumericStatisticalSummary
& operator=(
const
NumericStatisticalSummary
& rhs);
71
72
/*! \brief Clear the structure. */
73
void
clear();
74
75
public
:
76
77
double
m_minVal
;
78
double
m_maxVal
;
79
double
m_mean
;
80
double
m_sum
;
81
int
m_count
;
82
int
m_validCount
;
83
double
m_stdDeviation
;
84
double
m_kernel
;
85
double
m_variance
;
86
double
m_skewness
;
87
double
m_kurtosis
;
88
double
m_amplitude
;
89
double
m_median
;
90
double
m_varCoeff
;
91
std::vector<double>
m_mode
;
92
std::map < double, double >
m_percentEachClass
;
93
94
};
95
96
}
// end namespace stat
97
}
// end namespace te
98
99
#endif // __TERRALIB_STATISTICAL_CORE_INTERNAL_NUMERICSTATISTICALSUMMARY_H
te::stat::NumericStatisticalSummary::m_count
int m_count
Definition:
NumericStatisticalSummary.h:81
te::stat::NumericStatisticalSummary::m_variance
double m_variance
Definition:
NumericStatisticalSummary.h:85
te::stat::NumericStatisticalSummary
A structure to hold the set of statistics from a set of numerical values.
Definition:
NumericStatisticalSummary.h:46
te::stat::NumericStatisticalSummary::m_mean
double m_mean
Definition:
NumericStatisticalSummary.h:79
te::stat::NumericStatisticalSummary::m_amplitude
double m_amplitude
Definition:
NumericStatisticalSummary.h:88
te::stat::NumericStatisticalSummary::m_kurtosis
double m_kurtosis
Definition:
NumericStatisticalSummary.h:87
te::stat::NumericStatisticalSummary::m_maxVal
double m_maxVal
Definition:
NumericStatisticalSummary.h:78
te::stat::NumericStatisticalSummary::m_stdDeviation
double m_stdDeviation
Definition:
NumericStatisticalSummary.h:83
te::stat::NumericStatisticalSummary::m_mode
std::vector< double > m_mode
Definition:
NumericStatisticalSummary.h:91
te::stat::NumericStatisticalSummary::m_kernel
double m_kernel
Definition:
NumericStatisticalSummary.h:84
te::stat::NumericStatisticalSummary::m_percentEachClass
std::map< double, double > m_percentEachClass
Definition:
NumericStatisticalSummary.h:92
te::stat::NumericStatisticalSummary::m_minVal
double m_minVal
Definition:
NumericStatisticalSummary.h:77
te::stat::NumericStatisticalSummary::m_varCoeff
double m_varCoeff
Definition:
NumericStatisticalSummary.h:90
te::stat::NumericStatisticalSummary::m_validCount
int m_validCount
Definition:
NumericStatisticalSummary.h:82
te
URI C++ Library.
Definition:
AddressGeocodingOp.h:51
te::stat::NumericStatisticalSummary::m_median
double m_median
Definition:
NumericStatisticalSummary.h:89
TESTATEXPORT
#define TESTATEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition:
Config.h:61
te::stat::NumericStatisticalSummary::m_skewness
double m_skewness
Definition:
NumericStatisticalSummary.h:86
te::stat::NumericStatisticalSummary::m_sum
double m_sum
Definition:
NumericStatisticalSummary.h:80
Config.h
Configuration flags for the Terrralib Statistic module.
git_master
src
terralib
statistics
core
NumericStatisticalSummary.h
Generated on Tue Jul 17 2018 14:31:06 for TerraLib by
1.8.14