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

A mixture of distributions of fixed size. More...

#include "bsta_distribution.h"
#include "bsta_sampler.h"
#include <vcl_cassert.h>
#include <vcl_algorithm.h>
#include <vcl_iostream.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_fixed< dist_, s >
 A mixture of distributions with a fixed size of s components. More...
struct  bsta_mixture_fixed< dist_, s >::component
 A struct to hold the component distributions and weights. More...
class  bsta_mixture_fixed< dist_, s >::sort_weight
 This functor is used by default for sorting with STL. More...
class  bsta_mixture_fixed< dist_, s >::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_fixed< dist, s > >
 for compatibility with vpdl/vpdt. More...

Functions

template<class dist_ , unsigned s>
vcl_ostream & operator<< (vcl_ostream &os, bsta_mixture_fixed< dist_, s > const &no)

Detailed Description

A mixture of distributions of fixed size.

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

Definition in file bsta_mixture_fixed.h.


Function Documentation

template<class dist_ , unsigned s>
vcl_ostream& operator<< ( vcl_ostream &  os,
bsta_mixture_fixed< dist_, s > const &  no 
) [inline]

Definition at line 244 of file bsta_mixture_fixed.h.