57 template < TESTNAME AttributeSelection,
bool isScalar = false >
69 double attributeSelectionThreshold,
70 double pairSelectionThreshold,
78 double attributeSelectionThreshold,
79 double pairSelectionThreshold,
190 #endif // GUM_IMDDI_H Safe iterators for Sequence.
void updateGraph()
Updates the tree after a new observation has been added.
NodeId __insertLeafInFunctionGraph(AbstractLeaf *, Int2Type< true >)
Computes the score of the given variables for the given node.
void __removeLeaf(NodeId)
Adds a new observation to the structure.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void addObservation(const Observation *)
Adds a new observation to the structure.
void _updateNodeWithObservation(const Observation *newObs, NodeId currentNodeId)
Adds a new observation to the structure.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void _removeNode(NodeId removedNodeId)
Adds a new observation to the structure.
void __updateScore(const DiscreteVariable *, NodeId, VariableSelector &vs)
Computes the score of the given variables for the given node.
<agrum/FMDP/learning/FunctionGraph/leafAggregator.h>
<agrum/FMDP/learning/datastructure/incrementalGraphLearner>
The generic class for storing (ordered) sequences of objects.
void updateFunctionGraph()
Computes the score of the given variables for the given node.
<agrum/FMDP/learning/datastructure/leaves/abstractLeaf.h>
Base class for discrete random variable.
void __rebuildFunctionGraph()
Computes the score of the given variables for the given node.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
HashTable< NodeId, AbstractLeaf *> __leafMap
The class for generic Hash Tables.
Sequence< const DiscreteVariable *> __varOrder
void _chgNodeBoundVar(NodeId chgedNodeId, const DiscreteVariable *desiredVar)
Adds a new observation to the structure.
Representation of a setA Set is a structure that contains arbitrary elements.
virtual void add(const DiscreteVariable &v)
Adds a new var to the variables of the multidimensional matrix.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
~IMDDI()
Default destructor.
void __addLeaf(NodeId)
Adds a new observation to the structure.
void __downdateScore(const DiscreteVariable *, NodeId, VariableSelector &vs)
Computes the score of the given variables for the given node.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void insertSetOfVars(MultiDimFunctionGraph< double > *ret) const
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
IMDDI(MultiDimFunctionGraph< double > *target, double attributeSelectionThreshold, double pairSelectionThreshold, Set< const DiscreteVariable * > attributeListe, const DiscreteVariable *learnedValue)
Variable Learner constructor.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
<agrum/FMDP/planning/FunctionGraph/variableselector.h>
double __attributeSelectionThreshold
The threshold above which we consider variables to be dependant.
Size Idx
Type for indexes.
NodeId _insertLeafNode(NodeDatabase< AttributeSelection, isScalar > *nDB, const DiscreteVariable *boundVar, Set< const Observation * > *sonsMap)
Adds a new observation to the structure.
Size NodeId
Type for node ids.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void __updateNodeSet(Set< NodeId > &, const DiscreteVariable *, VariableSelector &)
For each node in the given set, this methods checks whether or not we should installed the given vari...
<agrum/FMDP/learning/datastructure/nodeDatabase.h>
Idx __nbTotalObservation
The total number of observation added to this tree.