33 #ifndef GUM_MULTI_DIM_ICI_MODEL_H 34 #define GUM_MULTI_DIM_ICI_MODEL_H 56 template <
typename GUM_SCALAR >
68 GUM_SCALAR default_weight = (GUM_SCALAR)1.0);
97 const std::string
toString()
const override;
157 virtual const std::string&
name()
const override;
180 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS virtual ~MultiDimICIModel()
Destructor.
Header of the MultiDimReadOnly class.
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.
gum is the global namespace for all aGrUM entities
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
A Interface to all Causal Independence models.
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.
Set of pairs of elements with fast search for both elements.
virtual void setLastNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.