CSIM: pcapreprocessor.h Source File

pcapreprocessor.h

Go to the documentation of this file.
00001 
00005 #ifndef _PCAPREPROCESSOR_H_
00006 #define _PCAPREPROCESSOR_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 PCAPreprocessor : public Preprocessor{
00018 
00019   DO_REGISTERING
00020 
00021  public:
00025   PCAPreprocessor(unsigned int in_rows = 1, unsigned int out_rows = 1);
00026 
00027   ~PCAPreprocessor(void);
00028 
00033   int process(const double* S, double* X);
00034 
00036   void reset();
00037 
00045   int importRepresentation(const double* rep, int rep_length);
00046 
00054   double* exportRepresentation(int *rep_length);
00055 
00057   string getFormatDescription();
00058 
00059 
00060  private:
00061 
00063   double *pca_matrix;
00064   
00065 };
00066 
00067 #endif

 
(C) 2003, Thomas Natschläger last modified 07/10/2006