SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
IndexBlockRelation.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 INDEXBLOCKRELATION_H_
11 #define INDEXBLOCKRELATION_H_
12 
13 #include <shogun/lib/config.h>
14 
15 #include <shogun/base/SGObject.h>
16 
17 namespace shogun
18 {
19 
20 class CList;
21 
22 #ifndef DOXYGEN_SHOULD_SKIP_THIS
23 enum EIndexBlockRelationType
24 {
25  GROUP,
26  TREE
27 };
28 #endif
29 
34 {
35 public:
36 
39  {
40  }
41 
44  {
45  }
46 
48  const char* get_name() const { return "IndexBlockRelation"; };
49 
51  virtual EIndexBlockRelationType get_relation_type() const = 0;
52 
53 protected:
54 
56  bool check_blocks_list(CList* blocks);
57 
58 };
59 
60 }
61 #endif
class IndexBlockRelation
bool check_blocks_list(CList *blocks)
Class SGObject is the base class of all shogun objects.
Definition: SGObject.h:115
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
const char * get_name() const
virtual EIndexBlockRelationType get_relation_type() const =0
Class List implements a doubly connected list for low-level-objects.
Definition: List.h:84

SHOGUN Machine Learning Toolbox - Documentation