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) 2009 Jonas Behr 00008 * Copyright (C) 2009 Fraunhofer Institute FIRST and Max-Planck-Society 00009 */ 00010 00011 #ifndef __TRAINPREDMASTER_h__ 00012 #define __TRAINPREDMASTER_h__ 00013 00014 #include "lib/common.h" 00015 #include "base/SGObject.h" 00016 /* 00017 #include "ui/GUIKernel.h" 00018 #include "genomic_signals/KernelFactory.h" 00019 */ 00020 00021 namespace shogun 00022 { 00023 class CGUIKernel; 00024 class CKernelFactory; 00025 00027 #define IGNORE_IN_CLASSLIST 00028 IGNORE_IN_CLASSLIST class CTrainPredMaster : public CSGObject 00029 { 00030 public: 00033 CTrainPredMaster(void); 00034 00037 CTrainPredMaster(CGUIKernel* p_ui_kernel); 00038 00039 virtual ~CTrainPredMaster(); 00040 00044 void read_models_from_file(char* filename); 00045 00049 inline virtual const char* get_name() const { return "TrainPredMaster"; } 00050 protected: 00051 00052 CGUIKernel* ui_kernel; 00053 CKernelFactory** kernelplist; 00054 }; 00055 } 00056 #endif