1 #ifndef _LDAPLUSPLUS_EVENTS_PROGRESS_EVENTS_HPP_ 2 #define _LDAPLUSPLUS_EVENTS_PROGRESS_EVENTS_HPP_ 5 #include "ldaplusplus/events/Events.hpp" 6 #include "ldaplusplus/Parameters.hpp" 10 template <
typename Scalar>
16 template <
typename Scalar>
21 Event(
"ExpectationProgressEvent"),
22 likelihood_(likelihood)
25 Scalar likelihood()
const {
return likelihood_; }
32 template <
typename Scalar>
37 Event(
"MaximizationProgressEvent"),
38 likelihood_(likelihood)
41 Scalar likelihood()
const {
return likelihood_; }
48 template <
typename Scalar>
53 Event(
"EpochProgressEvent"),
54 model_parameters_(parameters)
57 const std::shared_ptr<parameters::Parameters> model_parameters()
const {
58 return model_parameters_;
62 std::shared_ptr<parameters::Parameters> model_parameters_;
68 #endif // _LDAPLUSPLUS_EVENTS_PROGRESS_EVENTS_HPP_ Event(std::string id)
Definition: Events.cpp:8
Definition: Events.hpp:18
Definition: ProgressEvents.hpp:11
Definition: ProgressEvents.hpp:49
Definition: ProgressEvents.hpp:17
Definition: ProgressEvents.hpp:33
Definition: Document.hpp:11