Converter.h

Go to the documentation of this file.
00001 /*
00002  * This program is free software; you can redistribute it and/or modify
00003  * it under the terms of the GNU General Public License as published by
00004  * the Free Software Foundation; either version 3 of the License, or
00005  * (at your option) any later version.
00006  *
00007  * Written (W) 2011 Sergey Lisitsyn
00008  * Copyright (C) 2011 Sergey Lisitsyn
00009  */
00010 
00011 #ifndef CONVERTER_H_
00012 #define CONVERTER_H_
00013 
00014 #include <shogun/lib/common.h>
00015 #include <shogun/base/SGObject.h>
00016 #include <shogun/features/Features.h>
00017 
00018 namespace shogun
00019 {
00020 
00024 class CConverter : public CSGObject
00025 {
00026 public:
00028     CConverter() : CSGObject() {};
00029 
00031     virtual ~CConverter() {};
00032 
00034     virtual const char* get_name() const { return "Converter"; }
00035 
00041     virtual CFeatures* apply(CFeatures* features) = 0;
00042 };
00043 }
00044 #endif /* CONVERTER_H_ */
00045 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation