|
|||||||||||
Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
linearpreprocessor.hGo to the documentation of this file.00001 00005 #ifndef _LINEARPREPROCESSOR_H_ 00006 #define _LINEARPREPROCESSOR_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 LinearPreprocessor : public Preprocessor { 00018 00019 DO_REGISTERING 00020 00021 public: 00024 LinearPreprocessor(unsigned int rows = 1); 00025 00026 ~LinearPreprocessor(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 *linear_coefficients; 00060 00061 }; 00062 00063 #endif | |||||||||||
(C) 2003, Thomas Natschläger | last modified 07/10/2006 |