aGrUM  0.14.2
treeRegress.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (C) 2005 by Pierre-Henri WUILLEMIN et Christophe GONZALES *
3  * {prenom.nom}_at_lip6.fr *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ****************************************************************************/
28 #ifndef GUM_TREE_REGRESS_H
29 #define GUM_TREE_REGRESS_H
30 
31 #include <functional>
32 
35 
36 namespace gum {
37 
45  template < typename GUM_SCALAR,
46  template < typename >
47  class COMBINEOPERATOR,
48  template < typename >
49  class PROJECTOPERATOR,
50  template < typename > class TerminalNodePolicy =
51  ExactTerminalNodePolicy >
52  class TreeRegress {
53  public:
54  // ============================================================================
56  // ============================================================================
58 
62  const Bijection<
63  const DiscreteVariable*,
65 
67  ~TreeRegress();
68 
70  // ============================================================================
72  // ============================================================================
74 
78 
80 
81  private:
84  __xPloreVFunc(NodeId currentNodeId);
85 
88  const Bijection<
89  const DiscreteVariable*,
93  };
94 
95 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
97 #endif
98 
99 } // namespace gum
100 
102 
103 #endif // GUM_REGRESS_H
Class used to perform Decision Tree Regression in the FMDP Framework.
Definition: treeRegress.h:52
Headers of the ExactTerminalNodePolicy.
TreeRegress(const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > *qAction, const Bijection< const DiscreteVariable *, const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > * > pxi)
Default constructor.
Base class for discrete random variable.
gum is the global namespace for all aGrUM entities
Definition: agrum.h:25
~TreeRegress()
Default destructor.
The class for generic Hash Tables.
Definition: hashTable.h:676
const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > * __vFunc
The function graphs used for the operation.
Definition: treeRegress.h:87
MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > * compute()
Computes and builds the Function Graph that is the result of the operation.
Set of pairs of elements with fast search for both elements.
Definition: bijection.h:1803
Class implementingting a function graph.
Headers of MultiDimFunctionGraph.
const Bijection< const DiscreteVariable *, const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > *> __pxi
Definition: treeRegress.h:91
Class used to compute the operation between two decision diagrams.
HashTable< const DiscreteVariable *, Idx > __context
Definition: treeRegress.h:92
MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > * __xPloreVFunc(NodeId currentNodeId)
The whatever 1.
Size NodeId
Type for node ids.
Definition: graphElements.h:97