Phoenix2D-Library  0.10
Normal.h
Go to the documentation of this file.
1 /*
2  * Phoenix2D (RoboCup Soccer Simulation 2D League)
3  * Copyright (c) 2013 Ivan Gonzalez
4  *
5  * This file is part of Phoenix2D.
6  *
7  * Phoenix2D is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * Phoenix2D is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with Phoenix2D. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef NORMAL_H_
22 #define NORMAL_H_
23 
24 #include <list>
25 
29 namespace Phoenix
30 {
35 class Normal {
36  double mean;
37  double deviation;
38 public:
39  Normal(double mean, double deviation);
40  Normal(std::list<double> data, bool circular = false);
41  Normal(std::list<double> data, std::list<int> multipliers, bool circular = false);
42  ~Normal();
43  double getLower5();
44  double getUpper5();
45  double getMean();
46  double getStdDeviation();
47 };
48 } // End namespace Phoenix
51 #endif /* NORMAL_H_ */
double getUpper5()
Definition: Normal.cpp:86
Normal(double mean, double deviation)
Definition: Normal.cpp:25
double getMean()
Definition: Normal.cpp:90
double getStdDeviation()
Definition: Normal.cpp:94
Normal The Normal lorem Ipsum
Definition: Normal.h:35
double deviation
Definition: Normal.h:37
double mean
Definition: Normal.h:36
double getLower5()
Definition: Normal.cpp:82