Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

mean_std_preprocessor.h

Go to the documentation of this file.
00001 
00005 #ifndef _MEAN_STD_PREPROCESSOR_H_
00006 #define _MEAN_STD_PREPROCESSOR_H_
00007 
00008 #include <string>
00009 #include <map>
00010 #include <list>
00011 #include "preprocessor.h"
00012 #include "csimerror.h"
00013 
00014 using namespace std;
00015 
00017 class Mean_Std_Preprocessor : public Preprocessor {
00018 
00019   DO_REGISTERING
00020   
00021  public:
00024   Mean_Std_Preprocessor(unsigned int rows = 1);
00025 
00026   ~Mean_Std_Preprocessor(void);
00027 
00032   int process(const double* S, double* X);
00033 
00035   void reset();
00036 
00043   int importRepresentation(const double* rep, int rep_length);
00044 
00051   double* exportRepresentation(int *rep_length);
00052 
00054   string getFormatDescription();
00055 
00056  private:
00057 
00059   double *means;
00060 
00062   double *std_devs;
00063 
00064   
00065 };
00066 
00067 #endif