GUIMath.cpp

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 #include <shogun/ui/GUIMath.h>
00012 #include <shogun/ui/SGInterface.h>
00013 
00014 #include <shogun/lib/config.h>
00015 #include <shogun/io/SGIO.h>
00016 #include <shogun/mathematics/Math.h>
00017 
00018 using namespace shogun;
00019 
00020 CGUIMath::CGUIMath(CSGInterface* ui_)
00021 : CSGObject(), ui(ui_), threshold(0.0)
00022 {
00023 }
00024 
00025 void CGUIMath::set_threshold(float64_t value)
00026 {
00027     SG_INFO("Old threshold: %f.\n", threshold);
00028     threshold=value;
00029     SG_INFO("New threshold: %f.\n", threshold);
00030 }
00031 
00032 void CGUIMath::init_random(uint32_t initseed)
00033 {
00034     CMath::init_random(initseed);
00035 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation