Classes | Functions
contrib/brl/bbas/bsta/bsta_mixture.h File Reference

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)

Detailed Description

A mixture of distributions.

Author:
Matt Leotta (mleotta@lems.brown.edu)
Date:
January 26, 2006
    Modifications
     Jan 21 2008  -  Matt Leotta  -  Rename probability to prob_density and
                                     add probability integration over a box
   

Definition in file bsta_mixture.h.


Function Documentation

template<class dist_ >
vcl_ostream& operator<< ( vcl_ostream &  os,
bsta_mixture< dist_ > const &  m 
) [inline]

Definition at line 232 of file bsta_mixture.h.