C1dInvGaConfParser.hpp

Go to the documentation of this file.
00001 #ifndef INC_C1dInvGaConfParser_hpp_
00002 #define INC_C1dInvGaConfParser_hpp_
00003 
00004 #include <antlr/config.hpp>
00005 /* $ANTLR 2.7.6 (20070220): "C1dInvGaConf.g" -> "C1dInvGaConfParser.hpp"$ */
00006 #include <antlr/TokenStream.hpp>
00007 #include <antlr/TokenBuffer.hpp>
00008 #include "C1dInvGaConfParserTokenTypes.hpp"
00009 #include <antlr/LLkParser.hpp>
00010 
00011 #line 1 "C1dInvGaConf.g"
00012 
00013         #include <string>
00014         #include <vector>
00015         #include <iostream>
00016 
00017 #line 18 "C1dInvGaConfParser.hpp"
00018 class CUSTOM_API C1dInvGaConfParser : public antlr::LLkParser, public C1dInvGaConfParserTokenTypes
00019 {
00020 #line 20 "C1dInvGaConf.g"
00021 
00022 private: 
00023 int i; double dtemp; int itemp; std::string stemp; bool btemp;
00024 public: 
00025 bool verbose;
00026 bool usevrefmodel;
00027 std::string vrefmodel;
00028 int mtfitexponent;
00029 int recfitexponent;
00030 int popsize;
00031 double inittemp;
00032 double coolingratio;
00033 int generations;
00034 double mutationprob;
00035 double crossoverprob;
00036 double slowness;
00037 double omega;
00038 double sigma;
00039 int shift;
00040 double cc;
00041 double poisson;
00042 int threads;
00043 double starttime;
00044 double endtime;
00045 double tensorerror;
00046 double reserror;
00047 double phaseerror;
00048 double recerror;
00049 std::string recmethod;
00050 std::string gatype;
00051 std::string outputbase;
00052 std::string mode;
00053 std::string mtfit;
00054 std::string mtinputdata;
00055 std::string recinputdata;
00056 std::string rfabsveldata;
00057 int annealinggeneration;
00058 bool elitist;
00059 std::vector< double > thickbase;
00060 std::vector< double > thickstep;
00061 std::vector< int > thicksizes;
00062 std::vector< double > resbase;
00063 std::vector< double > resstep;
00064 std::vector< int > ressizes;
00065 std::vector< double > svelbase;
00066 std::vector< double > svelstep;
00067 std::vector< int > svelsizes;
00068 std::vector< double > weights;
00069 double recweight;
00070 double absvelweight;
00071 #line 22 "C1dInvGaConfParser.hpp"
00072 public:
00073         void initializeASTFactory( antlr::ASTFactory& factory );
00074 protected:
00075         C1dInvGaConfParser(antlr::TokenBuffer& tokenBuf, int k);
00076 public:
00077         C1dInvGaConfParser(antlr::TokenBuffer& tokenBuf);
00078 protected:
00079         C1dInvGaConfParser(antlr::TokenStream& lexer, int k);
00080 public:
00081         C1dInvGaConfParser(antlr::TokenStream& lexer);
00082         C1dInvGaConfParser(const antlr::ParserSharedInputState& state);
00083         int getNumTokens() const
00084         {
00085                 return C1dInvGaConfParser::NUM_TOKENS;
00086         }
00087         const char* getTokenName( int type ) const
00088         {
00089                 if( type > getNumTokens() ) return 0;
00090                 return C1dInvGaConfParser::tokenNames[type];
00091         }
00092         const char* const* getTokenNames() const
00093         {
00094                 return C1dInvGaConfParser::tokenNames;
00095         }
00096         public: void configentry();
00097         public: bool  boolvalue();
00098         public: std::string  stringvalue();
00099         public: double  numvalue();
00100         public: void configfile();
00101 public:
00102         antlr::RefAST getAST()
00103         {
00104                 return returnAST;
00105         }
00106         
00107 protected:
00108         antlr::RefAST returnAST;
00109 private:
00110         static const char* tokenNames[];
00111 #ifndef NO_STATIC_CONSTS
00112         static const int NUM_TOKENS = 63;
00113 #else
00114         enum {
00115                 NUM_TOKENS = 63
00116         };
00117 #endif
00118         
00119         static const unsigned long _tokenSet_0_data_[];
00120         static const antlr::BitSet _tokenSet_0;
00121         static const unsigned long _tokenSet_1_data_[];
00122         static const antlr::BitSet _tokenSet_1;
00123         static const unsigned long _tokenSet_2_data_[];
00124         static const antlr::BitSet _tokenSet_2;
00125         static const unsigned long _tokenSet_3_data_[];
00126         static const antlr::BitSet _tokenSet_3;
00127         static const unsigned long _tokenSet_4_data_[];
00128         static const antlr::BitSet _tokenSet_4;
00129         static const unsigned long _tokenSet_5_data_[];
00130         static const antlr::BitSet _tokenSet_5;
00131         static const unsigned long _tokenSet_6_data_[];
00132         static const antlr::BitSet _tokenSet_6;
00133 };
00134 
00135 #endif /*INC_C1dInvGaConfParser_hpp_*/

Generated on Thu Nov 22 13:58:24 2007 for GPLIB++ by  doxygen 1.5.1