A MaximizationStep groups together several parameter estimation tasks (SharedParameters objects) into a single unit.
More...
#include <dai/emalg.h>
Private Attributes |
std::vector< SharedParameters > | _params |
| Vector of parameter estimation tasks of which this maximization step consists.
|
Detailed Description
A MaximizationStep groups together several parameter estimation tasks (SharedParameters objects) into a single unit.
- Author
- Charles Vaske
Member Typedef Documentation
Iterator over the parameter estimation tasks.
Constant iterator over the parameter estimation tasks.
Constructor & Destructor Documentation
dai::MaximizationStep::MaximizationStep |
( |
| ) |
|
|
inline |
dai::MaximizationStep::MaximizationStep |
( |
std::vector< SharedParameters > & |
maximizations | ) |
|
|
inline |
dai::MaximizationStep::MaximizationStep |
( |
std::istream & |
is, |
|
|
const FactorGraph & |
fg_varlookup |
|
) |
| |
Member Function Documentation
void dai::MaximizationStep::addExpectations |
( |
InfAlg & |
alg | ) |
|
Collect the beliefs from this InfAlg as expectations for the next Maximization step.
void dai::MaximizationStep::maximize |
( |
FactorGraph & |
fg | ) |
|
Using all of the currently added expectations, make new factors with maximized parameters and set them in the FactorGraph.
iterator dai::MaximizationStep::begin |
( |
| ) |
|
|
inline |
Returns iterator that points to the first parameter estimation task.
Returns constant iterator that points to the first parameter estimation task.
Returns iterator that points beyond the last parameter estimation task.
Returns constant iterator that points beyond the last parameter estimation task.
Member Data Documentation
Vector of parameter estimation tasks of which this maximization step consists.
The documentation for this class was generated from the following files: