28 #ifndef GUM_MULTI_DIM_LOGIT_H 29 #define GUM_MULTI_DIM_LOGIT_H 31 #include <agrum/tools/multidim/ICIModels/multiDimICIModel.h> 51 template <
typename GUM_SCALAR >
64 MultiDimLogit(GUM_SCALAR external_weight, GUM_SCALAR default_weight = (GUM_SCALAR)0.0);
74 MultiDimLogit(
const Bijection<
const DiscreteVariable*,
const DiscreteVariable* >& bij,
104 virtual GUM_SCALAR
get(
const Instantiation& i)
const;
125 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 130 template <
typename GUM_SCALAR >
135 #include <agrum/tools/multidim/ICIModels/multiDimLogit_tpl.h> std::string toString() const
Returns the real name of the multiDimArray.
INLINE void emplace(Args &&... args)
MultiDimLogit(const Bijection< const DiscreteVariable *, const DiscreteVariable * > &bij, const MultiDimLogit< 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.
virtual GUM_SCALAR get(const Instantiation &i) const
Returns the real name of the multiDimArray.
MultiDimLogit(const MultiDimLogit< GUM_SCALAR > &from)
Default constructor.
std::ostream & operator<<(std::ostream &s, const MultiDimLogit< GUM_SCALAR > &ag)
For friendly displaying the content of the array.
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()
virtual ~MultiDimLogit()
Destructor.
MultiDimLogit(GUM_SCALAR external_weight, GUM_SCALAR default_weight=(GUM_SCALAR) 0.0)
Default constructor.