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
std::map<double, double>
m_totalAreaByClass
;
94
95
};
96
97
}
// end namespace stat
98
}
// end namespace te
99
100
#endif // __TERRALIB_STATISTICAL_CORE_INTERNAL_NUMERICSTATISTICALSUMMARY_H
te::stat::NumericStatisticalSummary::m_percentEachClass
std::map< double, double > m_percentEachClass
Definition:
NumericStatisticalSummary.h:92
te::stat::NumericStatisticalSummary::m_varCoeff
double m_varCoeff
Definition:
NumericStatisticalSummary.h:90
te
TerraLib.
Definition:
AddressGeocodingOp.h:52
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_median
double m_median
Definition:
NumericStatisticalSummary.h:89
te::stat::NumericStatisticalSummary::m_skewness
double m_skewness
Definition:
NumericStatisticalSummary.h:86
te::stat::NumericStatisticalSummary::NumericStatisticalSummary
NumericStatisticalSummary(const NumericStatisticalSummary &rhs)
Copy constructor.
te::stat::NumericStatisticalSummary::m_count
int m_count
Definition:
NumericStatisticalSummary.h:81
te::stat::NumericStatisticalSummary::~NumericStatisticalSummary
~NumericStatisticalSummary()
Destructor.
te::stat::NumericStatisticalSummary::m_variance
double m_variance
Definition:
NumericStatisticalSummary.h:85
te::stat::NumericStatisticalSummary::m_sum
double m_sum
Definition:
NumericStatisticalSummary.h:80
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
A structure to hold the set of statistics from a set of numerical values.
Definition:
NumericStatisticalSummary.h:47
te::stat::NumericStatisticalSummary::m_stdDeviation
double m_stdDeviation
Definition:
NumericStatisticalSummary.h:83
te::stat::NumericStatisticalSummary::m_amplitude
double m_amplitude
Definition:
NumericStatisticalSummary.h:88
te::stat::NumericStatisticalSummary::operator=
NumericStatisticalSummary & operator=(const NumericStatisticalSummary &rhs)
Assignment operator.
te::stat::NumericStatisticalSummary::NumericStatisticalSummary
NumericStatisticalSummary()
Constructor.
te::stat::NumericStatisticalSummary::m_mean
double m_mean
Definition:
NumericStatisticalSummary.h:79
Config.h
Proxy configuration file for TerraView (see terraview_config.h).
te::stat::NumericStatisticalSummary::m_mode
std::vector< double > m_mode
Definition:
NumericStatisticalSummary.h:91
te::stat::NumericStatisticalSummary::m_validCount
int m_validCount
Definition:
NumericStatisticalSummary.h:82
te::stat::NumericStatisticalSummary::m_minVal
double m_minVal
Definition:
NumericStatisticalSummary.h:77
te::stat::NumericStatisticalSummary::m_kernel
double m_kernel
Definition:
NumericStatisticalSummary.h:84
te::stat::NumericStatisticalSummary::m_totalAreaByClass
std::map< double, double > m_totalAreaByClass
Definition:
NumericStatisticalSummary.h:93
te::stat::NumericStatisticalSummary::clear
void clear()
Clear the structure.
git_release
src
terralib
statistics
core
NumericStatisticalSummary.h
Generated on Wed Feb 2 2022 10:38:00 for TerraLib by
1.8.20