GenSetStd.h
00001 #ifndef GenSetStd_h
00002 #define GenSetStd_h
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #include "GenSetBase.h"
00014
00015 using std::string;
00016
00017 namespace OPTPP {
00018
00019
00020
00021
00022 class GenSetStd : public GenSetBase {
00023
00024 public:
00025 virtual string classnm() { return "GenSetStd";}
00026
00027
00028 GenSetStd(){};
00029
00030
00031 GenSetStd(int n) : GenSetBase(n) {
00032 setSize(2*n);
00033 initActive();
00034 };
00035
00036 void generate(int i, double a, NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &y);
00038
00039
00040 int init(){ return 0;}
00041 int init(NEWMAT::ColumnVector& pV);
00042 int update(){ return 0;}
00043 int update(NEWMAT::ColumnVector& pV);
00044 bool prunes() { return true; }
00045
00047 virtual ~GenSetStd() {;}
00048 };
00049
00050 }
00051
00052 #endif