mixpp: bdm::MergerDiscrete Class Reference

bdm::MergerDiscrete Class Reference

Base class (interface) for for general combination of pdfs on discrete support. More...

#include <merger.h>

List of all members.


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:

\[ f(x_i|y_i), i=1..n \]

where the resulting merger is a density on $ \cup [x_i,y_i] $ . Note that all variables will be joined.

As a result of this feature, each source must be extended to common support

\[ f(z_i|y_i,x_i) f(x_i|y_i) f(y_i) i=1..n \]

where $ z_i $ 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, $ y_i={}, z_i={}, \forall i $. 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:

Generated on Fri Aug 27 16:54:41 2010 for mixpp by  doxygen 1.6.0