00001 #include <string> 00002 #include "CNeuralConfigParser.hpp" 00003 #include "CNeuralConfigLexer.hpp" 00004 00005 class CNeuralConfig{ 00006 public: 00007 void GetData(std::ifstream &instream); 00008 void GetData(std::string filename); 00009 void WriteData(std::ofstream &outstream); 00010 void WriteData(std::string filename); 00011 int seglength; 00012 double maxinit; 00013 int hiddenlayers; 00014 int maxit; 00015 double mu; 00016 CNeuralConfig(std::string filename){GetData(filename);} 00017 CNeuralConfig(){} 00018 };
1.5.8