Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include <shogun/ui/SGInterface.h>
00012 #include <shogun/ui/GUIStructure.h>
00013
00014 #include <shogun/lib/config.h>
00015 #include <shogun/io/SGIO.h>
00016 #include <shogun/structure/Plif.h>
00017
00018 using namespace shogun;
00019
00020 CGUIStructure::CGUIStructure(CSGInterface* ui_)
00021 : ui(ui_), m_dp(NULL), m_feature_matrix(NULL),
00022 m_feature_matrix_sparse1(NULL), m_feature_matrix_sparse2(NULL),
00023 m_feature_dims(NULL), m_num_positions(0), m_all_positions(0),
00024 m_content_svm_weights(0), m_num_svm_weights(0),
00025 m_orf_info(NULL), m_use_orf(true), m_mod_words(NULL)
00026 {
00027 m_plif_matrix=new CPlifMatrix();
00028 SG_REF(m_plif_matrix);
00029 }
00030
00031 CGUIStructure::~CGUIStructure()
00032 {
00033 SG_UNREF(m_plif_matrix);
00034 }