00001 #ifndef GenericMinL3Algorithm_H 00002 #define GenericMinL3Algorithm_H 00003 00013 #include <vector> 00014 #include <iostream> 00015 00016 using namespace std; 00017 00018 00019 class GenericMinL3Algorithm 00020 { 00021 public: 00024 GenericMinL3Algorithm(bool normalise = false); 00025 00027 ~GenericMinL3Algorithm(); 00028 00031 vector<float> iterate(const vector<vector<float> >& eventMatrix, const vector<float>& energyVector, int nIter); 00032 00035 vector<float> iterate(const vector<vector<float> >& eventMatrix, const vector<float>& energyVector); 00036 00037 protected: 00038 00039 00040 private: 00041 bool normaliseFlag; 00042 00043 }; 00044 00045 #endif // GenericMinL3Algorithm_H