28 #ifndef GUM_MULTI_DIM_NOISY_AND_H 29 #define GUM_MULTI_DIM_NOISY_AND_H 31 #include <agrum/tools/multidim/ICIModels/multiDimICIModel.h> 53 template <
typename GUM_SCALAR >
65 MultiDimNoisyAND(GUM_SCALAR external_weight, GUM_SCALAR default_weight = (GUM_SCALAR)1.0);
75 MultiDimNoisyAND(
const Bijection<
const DiscreteVariable*,
const DiscreteVariable* >& bij,
110 virtual GUM_SCALAR
get(
const Instantiation& i)
const;
131 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 136 template <
typename GUM_SCALAR >
141 #include <agrum/tools/multidim/ICIModels/multiDimNoisyAND_tpl.h> MultiDimNoisyAND(const Bijection< const DiscreteVariable *, const DiscreteVariable * > &bij, const MultiDimNoisyAND< GUM_SCALAR > &from)
Copy constructor using a bijection to swap variables from source.
virtual const std::string & name() const
Returns the real name of the multiDimArray.
MultiDimNoisyAND(GUM_SCALAR external_weight, GUM_SCALAR default_weight=(GUM_SCALAR) 1.0)
Default constructor.
INLINE void emplace(Args &&... args)
virtual GUM_SCALAR get(const Instantiation &i) const
Returns the real name of the multiDimArray.
virtual ~MultiDimNoisyAND()
Destructor.
Noisy AND representation.
virtual MultiDimContainer< GUM_SCALAR > * newFactory() const
This method creates a clone of this object, withouth its content (including variable), you must use this method if you want to ensure that the generated object has the same type than the object containing the called newFactory()
std::ostream & operator<<(std::ostream &s, const MultiDimNoisyAND< GUM_SCALAR > &ag)
For friendly displaying the content of the array.
MultiDimNoisyAND(const MultiDimNoisyAND< GUM_SCALAR > &from)
Default constructor.
std::string toString() const
Returns the real name of the multiDimArray.