BAT
0.9.4
The Bayesian analysis toolkit
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
BCMVCObservable.h
1
/*
2
* Copyright (C) 2007-2014, the BAT core developer team
3
* All rights reserved.
4
*
5
* For the licensing terms see doc/COPYING.
6
* For documentation see http://mpp.mpg.de/bat
7
*/
8
9
// ---------------------------------------------------------
10
11
#ifndef __BCMVCOBSERVABLE__H
12
#define __BCMVCOBSERVABLE__H
13
14
#include <string>
15
16
// ---------------------------------------------------------
17
class
BCMVCObservable
18
{
19
public
:
20
21
// Constructor
22
BCMVCObservable
();
23
24
// Destructor
25
~
BCMVCObservable
();
26
27
// setters
28
29
// set the name
30
void
SetName(std::string name)
31
{ fName = name; };
32
33
// set the minimum and maximum
34
void
SetMinMax(
double
min,
double
max)
35
{ fMin = min; fMax = max; };
36
37
// getters
38
39
// return the name
40
std::string GetName()
41
{
return
fName; };
42
43
// return the minimum value
44
double
GetMinimum()
45
{
return
fMin; };
46
47
// return the maximum value
48
double
GetMaximum()
49
{
return
fMax; };
50
51
private
:
52
53
// name of the observable
54
std::string fName;
55
56
// the minimum value
57
double
fMin;
58
59
// the maximum value
60
double
fMax;
61
62
};
63
// ---------------------------------------------------------
64
65
#endif
66
BCMVCObservable
Definition:
BCMVCObservable.h:17
models
mvc
BCMVCObservable.h
Generated on Wed Nov 19 2014 16:14:03 for BAT by
1.8.6