A mixture of distributions. More...
#include "bsta_distribution.h"
#include <vcl_cassert.h>
#include <vcl_vector.h>
#include <vcl_algorithm.h>
#include <vcl_iostream.h>
#include "bsta_sampler.h"
#include <vpdl/vpdt/vpdt_dist_traits.h>
#include <vnl/vnl_random.h>
Go to the source code of this file.
Classes | |
class | bsta_mixture< dist_ > |
A mixture of distributions. More... | |
struct | bsta_mixture< dist_ >::component |
A struct to hold the component distributions and weights. More... | |
class | bsta_mixture< dist_ >::sort_weight |
This functor is used by default for sorting with STL. More... | |
class | bsta_mixture< dist_ >::sort_adaptor< comp_type_ > |
This adaptor allows users to define ordering functors on the components without accessing the components directly. More... | |
struct | vpdt_is_mixture< bsta_mixture< dist > > |
for compatibility with vpdl/vpdt. More... | |
Functions | |
template<class dist_ > | |
vcl_ostream & | operator<< (vcl_ostream &os, bsta_mixture< dist_ > const &m) |
A mixture of distributions.
Modifications Jan 21 2008 - Matt Leotta - Rename probability to prob_density and add probability integration over a box
Definition in file bsta_mixture.h.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
bsta_mixture< dist_ > const & | m | ||
) | [inline] |
Definition at line 232 of file bsta_mixture.h.