26 #ifndef GUM_MULTI_DIM_COMBINATION_H 27 #define GUM_MULTI_DIM_COMBINATION_H 93 template <
typename GUM_SCALAR,
template <
typename >
class TABLE >
134 virtual TABLE< GUM_SCALAR >*
135 combine(
const Set<
const TABLE< GUM_SCALAR >* >&
set) = 0;
136 virtual void combine(TABLE< GUM_SCALAR >& container,
137 const Set<
const TABLE< GUM_SCALAR >* >&
set) = 0;
141 const TABLE< GUM_SCALAR >&,
const TABLE< GUM_SCALAR >&)) = 0;
145 const TABLE< GUM_SCALAR >&,
const TABLE< GUM_SCALAR >&) = 0;
168 virtual std::pair< long, long >
169 memoryUsage(
const Set<
const TABLE< GUM_SCALAR >* >&
set)
const = 0;
virtual TABLE< GUM_SCALAR > * combine(const Set< const TABLE< GUM_SCALAR > * > &set)=0
creates and returns the result of the combination of the tables within set
Base class for discrete random variable.
Header file of gum::Sequence, a class for storing (ordered) sequences of objects. ...
virtual void setCombineFunction(TABLE< GUM_SCALAR > *(*combine)(const TABLE< GUM_SCALAR > &, const TABLE< GUM_SCALAR > &))=0
changes the function used for combining two TABLES
A generic class to combine efficiently several MultiDim tables.
The generic class for storing (ordered) sequences of objects.
MultiDimCombination()
default constructor
virtual TABLE< GUM_SCALAR > *(*)(const TABLE< GUM_SCALAR > &, const TABLE< GUM_SCALAR > &) combineFunction()
returns the combination function currently used by the combinator
gum is the global namespace for all aGrUM entities
Representation of a setA Set is a structure that contains arbitrary elements.
virtual std::pair< long, long > memoryUsage(const Set< const TABLE< GUM_SCALAR > * > &set) const =0
Returns the memory consumption used during the combination.
virtual MultiDimCombination< GUM_SCALAR, TABLE > * newFactory() const =0
virtual constructor
MultiDimCombination< GUM_SCALAR, TABLE > & operator=(const MultiDimCombination< GUM_SCALAR, TABLE > &)
forbid copy operators
virtual ~MultiDimCombination()
destructor
A generic interface to combine efficiently several MultiDim tables.
virtual float nbOperations(const Set< const TABLE< GUM_SCALAR > * > &set) const =0
returns a rough estimate of the number of operations that will be performed to compute the combinatio...