51 static_cast< const ApproximationScheme* >(src), pourcent, error, time);
INLINE void setCurrentApproximationScheme(const ApproximationScheme *approximationScheme)
{@ /// distribute signals
virtual ~BNLearnerListener()
genericBNLearner * __bnlearner
A class for generic framework of learning algorithms that can easily be used.
BNLearnerListener & operator=(const BNLearnerListener &other)
INLINE void distributeStop(const ApproximationScheme *approximationScheme, std::string message)
distribute signals
INLINE void distributeProgress(const ApproximationScheme *approximationScheme, Size pourcent, double error, double time)
{@ /// distribute signals
A class that redirects gum_signal from algorithms to the listeners of BNLearn.
gum is the global namespace for all aGrUM entities
A listener that allows BNLearner to be used as a proxy for its inner algorithms.
BNLearnerListener(genericBNLearner *bnl, ApproximationScheme &sch)
virtual void whenStop(const void *src, const std::string message) final
When it stops.
A pack of learning algorithms that can easily be used.
virtual void whenProgress(const void *src, const Size pourcent, const double error, const double time) final
When progress was made.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
#define GUM_ERROR(type, msg)
The ApproximationSchemeListener class.