00001 #ifndef __BCDATAPOINT__H
00002 #define __BCDATAPOINT__H
00003
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #include <vector>
00027
00028
00029
00030 class BCDataPoint
00031 {
00032 public:
00033
00035
00036
00041 BCDataPoint(int nvariables);
00042
00046 BCDataPoint(std::vector<double> x);
00047
00050 ~BCDataPoint();
00051
00052
00053
00055
00056
00060 double GetValue(int index);
00061
00064 std::vector <double> GetValues()
00065 { return fData; };
00066
00069 const unsigned int GetNValues()
00070 { return fData.size(); };
00071
00072
00073
00075
00076
00081 void SetValue(int index, double value);
00082
00086 void SetValues(std::vector <double> values);
00087
00088
00089
00090 private:
00091
00094 std::vector <double> fData;
00095
00096 };
00097
00098
00099
00100 #endif
00101