aGrUM  0.16.0
approximationSchemeListener.h
Go to the documentation of this file.
1 
30 #ifndef APPROXIMATIONSCHEMELISTENER_H
31 #define APPROXIMATIONSCHEMELISTENER_H
32 
33 #include <agrum/agrum.h>
35 
37 
38 namespace gum {
39 
52  public:
58 
63 
71  virtual void whenProgress(const void* src,
72  const Size step,
73  const double error,
74  const double time) = 0;
75 
81  virtual void whenStop(const void* src, const std::string message) = 0;
82 
83  protected:
88 
94 
95  private:
98  };
99 } // namespace gum
100 
101 #endif // APPROXIMATIONSCHEMELISTENER_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 void whenStop(const void *src, const std::string message)=0
When it stops.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
virtual ~ApproximationSchemeListener()
Class destructor.
ApproximationSchemeListener(IApproximationSchemeConfiguration &sch)
Class constructor.
IApproximationSchemeConfiguration & __sch
The scheme configuration.
virtual void whenProgress(const void *src, const Size step, const double error, const double time)=0
When progress was made.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Definition: types.h:48
Every class who would catch signal from signaler should derive from Listener.
Definition: listener.h:74
ApproximationSchemeListener & operator=(const ApproximationSchemeListener &other)
Copy operator.
The ApproximationSchemeListener class.