bdm::MergerDiscrete Class Reference
Base class (interface) for for general combination of pdfs on discrete support. More...
#include <merger.h>
Detailed Description
Base class (interface) for for general combination of pdfs on discrete support.
Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial.
The merged pdfs are expected to be of the form:
where the resulting merger is a density on . Note that all variables will be joined.
As a result of this feature, each source must be extended to common support
where accumulate variables that were not in the original source. These extensions are calculated on-the-fly.
However, these operations can not be performed in general. Hence, this class merges only sources on common support, . For merging of more general cases, use offsprings merger_mix and merger_grid.
use sources for extensions
Member Function Documentation
void bdm::MergerDiscrete::from_setting | ( | const Setting & | set | ) |
Create object from the following structure
class = 'MergerDiscrete'; method = 'arithmetic' or 'geometric' or 'lognormal'; % name of the model used for merging --- compulsory only for lognormal merging model --- beta = x; % scalar prior on the log-normal merging model --- optional fields --- dbg_file = '...'; % name of the file to store debug informations --- inherited fields --- bdm::MergerBase::from_setting
Reimplemented in bdm::merger_mix.
References beta, bdm::UI::get(), set_debug_file(), and set_method().
The documentation for this class was generated from the following files:
- merger.h
- merger.cpp
Generated on Fri Aug 27 16:54:41 2010 for mixpp by
![doxygen](doxygen.png)