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 #ifndef _CPLEXSVM_H___ 00012 #define _CPLEXSVM_H___ 00013 #include "lib/common.h" 00014 00015 #ifdef USE_CPLEX 00016 #include "classifier/svm/SVM.h" 00017 #include "lib/Cache.h" 00018 00019 namespace shogun 00020 { 00022 class CCPLEXSVM : public CSVM 00023 { 00024 public: 00025 CCPLEXSVM(); 00026 virtual ~CCPLEXSVM(); 00027 00036 virtual bool train(CFeatures* data=NULL); 00037 00038 virtual inline EClassifierType get_classifier_type() { return CT_CPLEXSVM; } 00039 }; 00040 } 00041 #endif 00042 #endif