55#ifndef GUM_MULTI_DIM_ICI_MODEL_H
56#define GUM_MULTI_DIM_ICI_MODEL_H
79 template <
typename GUM_SCALAR >
90 MultiDimICIModel(GUM_SCALAR external_weight, GUM_SCALAR default_weight = (GUM_SCALAR)1.0);
118 std::string
toString()
const override;
173 virtual const std::string&
name()
const override;
196#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Set of pairs of elements with fast search for both elements.
Set of pairs of elements with fast search for both elements.
Base class for discrete random variable.
The class for generic Hash Tables.
Class for assigning/browsing values to tuples of discrete variables.
std::string toString() const
Give a string version of instantiation.
Abstract base class for all multi dimensionnal containers.
abstract class for Conditional Indepency Models
virtual void setDecNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.
virtual Size realSize() const override
virtual void changeNotification(const gum::Instantiation &, const gum::DiscreteVariable *const, gum::Idx, gum::Idx) override
Copy of a multiDimICIModel.
virtual void replace_(const DiscreteVariable *x, const DiscreteVariable *y) override
Replace variable x by y.
GUM_SCALAR externalWeight() const
Copy of a multiDimICIModel.
virtual const std::string & name() const override
returns the real name of the multiDimArray
virtual void setIncNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.
GUM_SCALAR _default_weight_
in Henrion (89) in a hashtable with a default_value.
virtual void copyFrom(const MultiDimContainer< GUM_SCALAR > &src) const override
Copy of a multiDimICIModel.
std::string toString(const gum::Instantiation *i) const override
Copy of a multiDimICIModel.
virtual void setChangeNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.
MultiDimICIModel(GUM_SCALAR external_weight, GUM_SCALAR default_weight=(GUM_SCALAR) 1.0)
Default constructor.
virtual void setFirstNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.
virtual ~MultiDimICIModel()
Destructor.
std::string toString() const override
Copy of a multiDimICIModel.
virtual void setLastNotification(const gum::Instantiation &) override
Copy of a multiDimICIModel.
HashTable< const DiscreteVariable *, GUM_SCALAR > _causal_weights_
in Henrion (89) in a hashtable with a default_value.
GUM_SCALAR causalWeight(const DiscreteVariable &v) const
Copy of a multiDimICIModel.
GUM_SCALAR _external_weight_
in Henrion (89).
virtual Idx nbrDim() const override
Returns the number of vars in the multidimensional container.
MultiDimReadOnly()
Default constructor.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Size Idx
Type for indexes.
A Interface to all Causal Independence models.
Header of the MultiDimReadOnly class.
gum is the global namespace for all aGrUM entities