GUIMath.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) 1999-2008 Soeren Sonnenburg
00008  * Copyright (C) 1999-2008 Fraunhofer Institute FIRST and Max-Planck-Society
00009  */
00010 
00011 #ifndef __GUIMATH__H__ 
00012 #define __GUIMATH__H__ 
00013 
00014 #include <shogun/lib/config.h>
00015 #include <shogun/base/SGObject.h>
00016 
00017 namespace shogun
00018 {
00019 class CSGInterface;
00020 
00022 class CGUIMath : public CSGObject
00023 {
00024     public:
00026         CGUIMath() {};
00030         CGUIMath(CSGInterface* interface);
00034         void set_threshold(float64_t value);
00038         void init_random(uint32_t initseed=0);
00039 
00041         inline virtual const char* get_name() const { return "GUIMath"; }
00042     protected:
00044         CSGInterface* ui;
00046         float64_t threshold;
00047 };
00048 }
00049 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation