36 #ifndef GUM_MULTI_DIM_ICI_MODEL_H 37 #define GUM_MULTI_DIM_ICI_MODEL_H 59 template <
typename GUM_SCALAR >
71 GUM_SCALAR default_weight = (GUM_SCALAR)1.0);
100 const std::string
toString()
const override;
160 virtual const std::string&
name()
const override;
183 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS virtual ~MultiDimICIModel()
Destructor.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
HashTable< const DiscreteVariable *, GUM_SCALAR > __causal_weights
in Henrion (89) in a hashtable with a default_value.
virtual void setIncNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.
virtual void setDecNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.
Base class for discrete random variable.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Abstract base class for all multi dimensionnal containers.
Abstract base class for all multi dimensionnal read only structure.
GUM_SCALAR __external_weight
in Henrion (89).
The class for generic Hash Tables.
GUM_SCALAR externalWeight() const
Copy of a multiDimICIModel.
const std::string toString(const gum::Instantiation *i) const override
Copy of a multiDimICIModel.
virtual void changeNotification(const gum::Instantiation &, const gum::DiscreteVariable *const, gum::Idx, gum::Idx) override
Copy of a multiDimICIModel.
abstract class for Conditional Indepency Models
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
GUM_SCALAR __default_weight
in Henrion (89) in a hashtable with a default_value.
virtual Size realSize() const override
std::string toString() const
Give a string version of instantiation.
virtual const std::string & name() const override
returns the real name of the multiDimArray
Set of pairs of elements with fast search for both elements.
virtual void _replace(const DiscreteVariable *x, const DiscreteVariable *y) override
Replace variable x by y.
virtual void copyFrom(const MultiDimContainer< GUM_SCALAR > &src) const override
Copy of a multiDimICIModel.
const std::string toString() const override
Copy of a multiDimICIModel.
virtual Idx nbrDim() const override
Returns the number of vars in the multidimensional container.
Class for assigning/browsing values to tuples of discrete variables.
virtual void setFirstNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.
GUM_SCALAR causalWeight(const DiscreteVariable &v) const
Copy of a multiDimICIModel.
MultiDimICIModel(GUM_SCALAR external_weight, GUM_SCALAR default_weight=(GUM_SCALAR) 1.0)
Default constructor.
Size Idx
Type for indexes.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
virtual void setChangeNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
virtual void setLastNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.