aGrUM  0.16.0
multiDimPartialInstantiation.h
Go to the documentation of this file.
1 
29 #ifndef GUM_MULTI_DIM_PARTIAL_INSTANTIATION_H
30 #define GUM_MULTI_DIM_PARTIAL_INSTANTIATION_H
31 
32 #include <agrum/core/set.h>
37 #include <utility>
38 
39 namespace gum {
40 
59  template < typename GUM_SCALAR, template < typename > class TABLE >
61  public:
62  // =========================================================================
64  // =========================================================================
66 
71 
78 
83 
91 
93  // =========================================================================
95  // =========================================================================
97 
99 
101  // =========================================================================
103  // =========================================================================
105 
120  TABLE< GUM_SCALAR >*
121  instantiate(const TABLE< GUM_SCALAR >& table,
123 
136  void instantiate(TABLE< GUM_SCALAR >& container,
137  const TABLE< GUM_SCALAR >& table,
139 
141  };
142 
143 } /* namespace gum */
144 
145 // always include the template implementation
147 
148 #endif /* GUM_MULTI_DIM_PARTIAL_INSTANTIATION_H */
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
virtual ~MultiDimPartialInstantiation()
Class destructor.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
MultiDimPartialInstantiation()
Default constructor.
MultiDimPartialInstantiation< GUM_SCALAR, TABLE > & operator=(const MultiDimPartialInstantiation< GUM_SCALAR, TABLE > &src)
Copy operator.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
The class for generic Hash Tables.
Definition: hashTable.h:679
TABLE< GUM_SCALAR > * instantiate(const TABLE< GUM_SCALAR > &table, const HashTable< const DiscreteVariable *, Idx > &inst_vars)
Creates and returns the partial instantiation of the table over a subset of its variables.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
A generic class to instantiate a subset of variables of a multidimensional table. ...
virtual MultiDimPartialInstantiation< GUM_SCALAR, TABLE > * newFactory() const
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.