Algorithm.cpp
00001 #include "Algorithm.h"
00002
00003 extern StreamOutput cout;
00004
00008 Algorithm::Algorithm()
00009 {
00010 cout<<"Algorithm"<<endl;
00011 m_inRetraining = false;
00012 m_enableBagging = false;
00013 }
00014
00018 Algorithm::~Algorithm()
00019 {
00020 cout<<"descructor Algorithm"<<endl;
00021 }
00022
00032 REAL Algorithm::clipValue ( REAL input, REAL low, REAL high )
00033 {
00034 if ( input < low )
00035 input = low;
00036 if ( input > high )
00037 input = high;
00038 return input;
00039 }