00001 #ifndef BatchFactory_H 00002 #define BatchFactory_H 00003 00004 #include "BatchLearning.h" 00005 #include "LearningFactory.h" 00006 #include <string> 00007 00008 using namespace std; 00009 00020 class BatchFactory : public LearningFactory { 00021 public: 00023 BatchFactory( const string& name ) : LearningFactory( name ) {}; 00024 00026 virtual LearningAlgorithm * build ( const TopolParams& arg ) 00027 { return new BatchLearning( arg ); }; 00028 }; 00029 00030 00031 #endif