00001
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __BCDATAPOINT__H
00024 #define __BCDATAPOINT__H
00025
00026 #include <vector>
00027
00028
00029
00030 class BCDataPoint
00031 {
00032
00033 public:
00034
00036
00037
00043 BCDataPoint(int nvariables);
00044
00049 BCDataPoint(std::vector<double> x);
00050
00054 ~BCDataPoint();
00055
00056
00057
00059
00060
00065 double GetValue(int index);
00066
00070 std::vector <double> GetValues()
00071 { return fData; };
00072
00076 int GetNValues()
00077 { return int(fData.size()); };
00078
00079
00080
00082
00083
00089 void SetValue(int index, double value);
00090
00095 void SetValues(std::vector <double> values);
00096
00097
00098
00099 private:
00100
00104 std::vector <double> fData;
00105
00106 };
00107
00108
00109
00110 #endif
00111