bdm::MergerBase Class Reference
Abstract common class for mergers. More...
#include <merger.h>
Inheritance diagram for bdm::MergerBase:
Public Member Functions | |
virtual void | merge () NOT_IMPLEMENTED_VOID |
merge | |
virtual void | set_sources (const Array< shared_ptr< pdf > > &A) |
virtual const epdf & | merger ()=0 |
return the result of merging | |
Public Attributes | |
vec | w |
weights of the sources -- no restrictions | |
Array< shared_ptr< epdf > > | sources |
source pdfs -- conditioning allowed |
Detailed Description
Abstract common class for mergers.
Merging is defined as a combination of information from source
pdfs into a single pdf called the merger
.
In the basic form, the random variables of all source pdfs must be identical, e.g. from the example above.
Extension of the merger to a more demanding scenarios with fragmental sources is available in offspring bdm::merger_mix.
This abstract class defines only the interface to using merger: operation merge(), and operation merger() which returns the result.
Member Function Documentation
virtual void bdm::MergerBase::set_sources | ( | const Array< shared_ptr< pdf > > & | A | ) | [inline, virtual] |
check if all epdfs are on the same support
Reimplemented in bdm::MergerDiscrete, and bdm::merger_mix.
The documentation for this class was generated from the following file:
Generated on 2 Dec 2013 for mixpp by 1.4.7