SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GUIMath.cpp
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 1999-2008 Soeren Sonnenburg
8  * Copyright (C) 1999-2008 Fraunhofer Institute FIRST and Max-Planck-Society
9  */
10 
11 #include <shogun/ui/GUIMath.h>
12 #include <shogun/ui/SGInterface.h>
13 
14 #include <shogun/lib/config.h>
15 #include <shogun/io/SGIO.h>
17 
18 using namespace shogun;
19 
20 CGUIMath::CGUIMath(CSGInterface* ui_)
21 : CSGObject(), ui(ui_), threshold(0.0)
22 {
23 }
24 
26 {
27  SG_INFO("Old threshold: %f.\n", threshold)
28  threshold=value;
29  SG_INFO("New threshold: %f.\n", threshold)
30 }
31 
32 void CGUIMath::init_random(uint32_t initseed)
33 {
34  CMath::init_random(initseed);
35 }

SHOGUN Machine Learning Toolbox - Documentation