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 #include "ui/GUIKernel.h" 00017 #include "genomic_signals/KernelFactory.h" 00018 00019 namespace shogun 00020 { 00021 00023 class CTrainPredMaster : public CSGObject 00024 { 00025 public: 00026 00029 CTrainPredMaster(CGUIKernel* p_ui_kernel); 00030 00031 virtual ~CTrainPredMaster(); 00032 00036 void read_models_from_file(char* filename); 00037 00041 inline virtual const char* get_name() const { return "TrainPredMaster"; } 00042 protected: 00043 00044 CGUIKernel* ui_kernel; 00045 CKernelFactory** kernelplist; 00046 }; 00047 } 00048 #endif