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