SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IndexBlockGroup.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Copyright (C) 2012 Sergey Lisitsyn
8  */
9 
10 #ifndef INDEXBLOCKGROUP_H_
11 #define INDEXBLOCKGROUP_H_
12 
13 #include <shogun/lib/config.h>
14 
15 #include <shogun/lib/SGVector.h>
17 
18 namespace shogun
19 {
20 
21 class CIndexBlock;
22 class CList;
23 
31 {
32 public:
33 
36 
38  virtual ~CIndexBlockGroup();
39 
43  void add_block(CIndexBlock* block);
44 
48  void remove_block(CIndexBlock* block);
49 
54 
55  virtual EIndexBlockRelationType get_relation_type() const { return GROUP; }
56 
58  const char* get_name() const { return "IndexBlockGroup"; };
59 
60 protected:
61 
63  CList* m_blocks;
64 
65 };
66 
67 }
68 #endif
69 

SHOGUN Machine Learning Toolbox - Documentation