KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
kjb::Chinese_restaurant_process Class Reference

#include <prob_distribution.h>

Public Types

typedef std::vector
< std::vector< size_t > > 
Type
 

Public Member Functions

 Chinese_restaurant_process (double concentration, size_t nc)
 
double concentration () const
 
size_t num_customers () const
 

Member Typedef Documentation

typedef std::vector<std::vector<size_t> > kjb::Chinese_restaurant_process::Type

Constructor & Destructor Documentation

kjb::Chinese_restaurant_process::Chinese_restaurant_process ( double  concentration,
size_t  nc 
)
inline

Member Function Documentation

double kjb::Chinese_restaurant_process::concentration ( ) const
inline
size_t kjb::Chinese_restaurant_process::num_customers ( ) const
inline

The documentation for this class was generated from the following file: