47 #ifndef BNLEARNERLISTENER_H 48 #define BNLEARNERLISTENER_H 50 #include <agrum/agrum.h> 51 #include <agrum/tools/core/approximations/approximationScheme.h> 52 #include <agrum/tools/core/approximations/approximationSchemeListener.h> 56 class genericBNLearner;
73 const double time)
final;
74 virtual void whenStop(
const void* src,
const std::string message)
final;
virtual ~BNLearnerListener()
genericBNLearner * _bnlearner_
BNLearnerListener(const BNLearnerListener &other)
BNLearnerListener & operator=(const BNLearnerListener &other)
INLINE void emplace(Args &&... args)
A class that redirects gum_signal from algorithms to the listeners of BNLearn.
BNLearnerListener(genericBNLearner *bnl, ApproximationScheme &sch)
virtual void whenStop(const void *src, const std::string message) final
When it stops.
virtual void whenProgress(const void *src, const Size pourcent, const double error, const double time) final
When progress was made.
Database(const std::string &filename, const BayesNet< GUM_SCALAR > &bn, const std::vector< std::string > &missing_symbols)