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-2009 Soeren Sonnenburg 00008 * Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max-Planck-Society 00009 */ 00010 00011 #include "classifier/Classifier.h" 00012 00013 00014 #ifdef HAVE_BOOST_SERIALIZATION 00015 #include <boost/serialization/export.hpp> 00016 BOOST_CLASS_EXPORT_GUID(shogun::CClassifier, "CClassifier"); 00017 //BOOST_SERIALIZATION_ASSUME_ABSTRACT(shogun::CClassifier); 00018 #endif //HAVE_BOOST_SERIALIZATION 00019 00020 using namespace shogun; 00021 00022 CClassifier::CClassifier() : CSGObject(), max_train_time(0), labels(NULL), 00023 solver_type(ST_AUTO) 00024 { 00025 } 00026 00027 CClassifier::~CClassifier() 00028 { 00029 SG_UNREF(labels); 00030 }