28 #ifndef GUM_MULTI_DIM_NOISY_OR_NET_H 29 #define GUM_MULTI_DIM_NOISY_OR_NET_H 31 #include <agrum/tools/multidim/ICIModels/multiDimICIModel.h> 53 template <
typename GUM_SCALAR >
62 MultiDimNoisyORNet(GUM_SCALAR external_weight, GUM_SCALAR default_weight = (GUM_SCALAR)1.0);
72 MultiDimNoisyORNet(
const Bijection<
const DiscreteVariable*,
const DiscreteVariable* >& bij,
105 virtual GUM_SCALAR
get(
const Instantiation& i)
const;
127 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 132 template <
typename GUM_SCALAR >
137 #include <agrum/tools/multidim/ICIModels/multiDimNoisyORNet_tpl.h>
INLINE void emplace(Args &&... args)
virtual GUM_SCALAR get(const Instantiation &i) const
Returns the real name of the multiDimArray.
MultiDimNoisyORNet(const Bijection< const DiscreteVariable *, const DiscreteVariable * > &bij, const MultiDimNoisyORNet< GUM_SCALAR > &from)
Copy constructor using a bijection to swap variables from source.
std::string toString() const
Returns the real name of the multiDimArray.
virtual const std::string & name() const
Returns the real name of the multiDimArray.
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()
MultiDimNoisyORNet(GUM_SCALAR external_weight, GUM_SCALAR default_weight=(GUM_SCALAR) 1.0)
Default constructor.
MultiDimNoisyORNet(const MultiDimNoisyORNet< GUM_SCALAR > &from)
Default constructor.
std::ostream & operator<<(std::ostream &s, const MultiDimNoisyORNet< GUM_SCALAR > &ag)
For friendly displaying the content of the array.
virtual ~MultiDimNoisyORNet()
Destructor.