![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
Class used to perform Decision Tree Operation in the FMDP Framework. More...
#include <agrum/tools/multidim/patterns/treeOperator.h>
Public Member Functions | |
Constructors / Destructors | |
TreeOperator (const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > *dt1, const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > *dt2) | |
Default constructor. More... | |
TreeOperator (const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > *dt1, const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > *dt2, const HashTable< const DiscreteVariable *, Idx > givenContext) | |
Default constructor. More... | |
~TreeOperator () | |
Default destructor. More... | |
Main Method | |
MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > * | compute () |
Computes and builds the Function Graph that is the result of the operation. More... | |
Class used to perform Decision Tree Operation in the FMDP Framework.
Definition at line 52 of file treeOperator.h.
INLINE gum::TreeOperator< GUM_SCALAR, COMBINEOPERATOR, TerminalNodePolicy >::TreeOperator | ( | const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > * | dt1, |
const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > * | dt2 | ||
) |
Default constructor.
Definition at line 44 of file treeOperator_tpl.h.
References gum::Set< Key, Alloc >::emplace().
INLINE gum::TreeOperator< GUM_SCALAR, COMBINEOPERATOR, TerminalNodePolicy >::TreeOperator | ( | const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > * | dt1, |
const MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > * | dt2, | ||
const HashTable< const DiscreteVariable *, Idx > | givenContext | ||
) |
Default constructor.
Definition at line 59 of file treeOperator_tpl.h.
References gum::Set< Key, Alloc >::emplace().
INLINE gum::TreeOperator< GUM_SCALAR, COMBINEOPERATOR, TerminalNodePolicy >::~TreeOperator | ( | ) |
Default destructor.
Definition at line 75 of file treeOperator_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 156 of file treeOperator_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
private |
The main recursion function.
Definition at line 100 of file treeOperator_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
private |
The main recursion function.
Definition at line 127 of file treeOperator_tpl.h.
References gum::Set< Key, Alloc >::emplace().
INLINE MultiDimFunctionGraph< GUM_SCALAR, TerminalNodePolicy > * gum::TreeOperator< GUM_SCALAR, COMBINEOPERATOR, TerminalNodePolicy >::compute | ( | ) |
Computes and builds the Function Graph that is the result of the operation.
Definition at line 87 of file treeOperator_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
private |
The function to be performed on the leaves.
Definition at line 106 of file treeOperator.h.
|
private |
Definition at line 108 of file treeOperator.h.
|
private |
Definition at line 109 of file treeOperator.h.
|
private |
The two function graphs used for the operation.
Definition at line 99 of file treeOperator.h.
|
private |
Definition at line 100 of file treeOperator.h.
|
private |
The resulting function graph.
Definition at line 103 of file treeOperator.h.