BayesianAnalysisToolkit
0.9.3
Main Page
Namespaces
Classes
Files
File List
File Members
BAT
BCDataPoint.h
Go to the documentation of this file.
1
#ifndef __BCDATAPOINT__H
2
#define __BCDATAPOINT__H
3
17
/*
18
* Copyright (C) 2007-2013, the BAT core developer team
19
* All rights reserved.
20
*
21
* For the licensing terms see doc/COPYING.
22
* For documentation see http://mpp.mpg.de/bat
23
*/
24
25
// ---------------------------------------------------------
26
27
#include <vector>
28
29
// ---------------------------------------------------------
30
31
class
BCDataPoint
32
{
33
public
:
34
42
BCDataPoint
(
int
nvariables);
43
47
BCDataPoint
(
const
std::vector<double> & x);
48
56
double
GetValue
(
unsigned
index)
const
;
57
60
const
std::vector<double> &
GetValues
()
const
61
{
return
fData
; };
62
65
unsigned
int
GetNValues
()
const
66
{
return
fData
.size(); };
67
77
void
SetValue
(
unsigned
index,
double
value);
78
82
void
SetValues
(
const
std::vector<double> & values);
83
86
private
:
87
90
std::vector<double>
fData
;
91
92
};
93
94
// ---------------------------------------------------------
95
96
#endif
97
Generated by
1.8.4