74 #ifndef GUM_SCHEDULE_COMBINATION_BASIC_H 75 #define GUM_SCHEDULE_COMBINATION_BASIC_H 86 template <
typename GUM_SCALAR >
128 template <
template <
typename >
class TABLE >
130 combine(
const Set<
const TABLE< GUM_SCALAR >* >&
set,
151 template <
template <
typename >
class TABLE >
164 virtual std::pair< long, long >
167 std::pair< long, long >
170 template <
template <
typename >
class TABLE >
171 std::pair< long, long >
A class to combine efficiently several ScheduleMultiDims.
Base class for discrete random variable.
Header file of gum::Sequence, a class for storing (ordered) sequences of objects. ...
a MultiDimImplementation Wrapper used for scheduling inferences
virtual ~ScheduleCombinationBasic()
destructor
virtual float nbOperations(const Set< const ScheduleMultiDim< GUM_SCALAR > * > &set, const Schedule< GUM_SCALAR > &schedule)
returns a rough estimate of the number of operations that will be performed to compute the combinatio...
The generic class for storing (ordered) sequences of objects.
Size _combinedSize(const Sequence< const DiscreteVariable * > &seq1, const Sequence< const DiscreteVariable * > &seq2) const
returns the domain size of the Cartesian product of the union of all the variables in seq1 and seq2 ...
virtual ScheduleCombinationBasic< GUM_SCALAR > * newFactory() const
virtual constructor
gum is the global namespace for all aGrUM entities
virtual MultiDimImplementation< GUM_SCALAR > *(*)(const MultiDimImplementation< GUM_SCALAR > &, const MultiDimImplementation< GUM_SCALAR > &) combineFunction()
returns the combination function currently used by the combinator
Representation of a setA Set is a structure that contains arbitrary elements.
virtual std::pair< long, long > memoryUsage(const Set< const ScheduleMultiDim< GUM_SCALAR > * > &set, const Schedule< GUM_SCALAR > &schedule)
returns the memory consumption used during the combination
ScheduleCombinationBasic(MultiDimImplementation< GUM_SCALAR > *(*combine)(const MultiDimImplementation< GUM_SCALAR > &, const MultiDimImplementation< GUM_SCALAR > &))
default constructor
virtual ScheduleMultiDim< GUM_SCALAR > combine(const Set< const ScheduleMultiDim< GUM_SCALAR > * > &set, Schedule< GUM_SCALAR > &)
priority queues (in which an element cannot appear more than once)
virtual void setCombineFunction(MultiDimImplementation< GUM_SCALAR > *(*combine)(const MultiDimImplementation< GUM_SCALAR > &, const MultiDimImplementation< GUM_SCALAR > &))
changes the function used for combining two TABLES
Class containing a schedule of operations to perform on multidims.
<agrum/multidim/multiDimImplementation.h>
std::size_t Size
In aGrUM, hashed values are unsigned long int.
A generic interface to combine efficiently several ScheduleMultiDims.