aGrUM  0.16.0
scheduleDeleteMultiDim.h
Go to the documentation of this file.
1 
29 #ifndef GUM_SCHEDULE_DELETE_MULTI_DIM_H
30 #define GUM_SCHEDULE_DELETE_MULTI_DIM_H
31 
32 #include <string>
33 
34 #include <agrum/agrum.h>
35 
36 #include <agrum/core/sequence.h>
40 
41 namespace gum {
42 
43  template < typename GUM_SCALAR >
44 
45  class ScheduleDeleteMultiDim : public ScheduleOperation< GUM_SCALAR > {
46  public:
47  // ############################################################################
49  // ############################################################################
51 
53 
57 
60 
63 
65  virtual ~ScheduleDeleteMultiDim();
66 
68 
69  // ############################################################################
71  // ############################################################################
73 
77 
79 
82 
84 
87 
89 
90  // ############################################################################
92  // ############################################################################
94 
96  void execute();
97 
100  float nbOperations() const;
101 
103 
111  std::pair< long, long > memoryUsage() const;
112 
115 
118  multiDimResults() const;
119 
121  std::string toString() const;
122 
124 
125  private:
126  // the table to delete
128 
131  };
132 
133 } /* namespace gum */
134 
135 // always include the template implementation
137 
138 #endif /* GUM_SCHEDULE_DELETE_MULTI_DIM_H */
std::string toString() const
displays the content of the operation
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.
a MultiDimImplementation Wrapper used for scheduling inferences
The generic class for storing (ordered) sequences of objects.
Definition: sequence.h:1022
const Sequence< const ScheduleMultiDim< GUM_SCALAR > *> & multiDimResults() const
returns the set of multidims that should be the result of the operation
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.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
std::pair< long, long > memoryUsage() const
returns the memory consumption used during the operation
virtual ~ScheduleDeleteMultiDim()
destructor
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
ScheduleDeleteMultiDim(const ScheduleMultiDim< GUM_SCALAR > &table)
default constructor
void execute()
executes the operation
ScheduleMultiDim< GUM_SCALAR > __table
float nbOperations() const
returns an estimation of the number of elementary operations needed to perform the ScheduleOperation ...
ScheduleDeleteMultiDim< GUM_SCALAR > & operator=(const ScheduleDeleteMultiDim< GUM_SCALAR > &)
copy operator
virtual ScheduleDeleteMultiDim< GUM_SCALAR > * newFactory() const
virtual copy constructor: creates a clone of the operation
const Sequence< const ScheduleMultiDim< GUM_SCALAR > *> & multiDimArgs() const
returns the set of multidims passed in argument to the operation
bool operator==(const ScheduleOperation< GUM_SCALAR > &) const
operator ==
bool operator!=(const ScheduleOperation< GUM_SCALAR > &) const
operator !=
Sequence< const ScheduleMultiDim< GUM_SCALAR > *> * __args
the set of ScheduleMultidims passed in arguments