Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
drwnGaussianMixtureThread Class Reference
Inheritance diagram for drwnGaussianMixtureThread:
drwnThreadJob

Public Member Functions

 drwnGaussianMixtureThread (unsigned n, const vector< vector< double > > &x, const vector< drwnGaussian > *g, const VectorXd *logLambda, unsigned offset, unsigned step)
 
void operator() ()
 thread functor called by drwnThreadPool with the appropriate threadId
 

Public Attributes

vector< drwnSuffStatsstats
 
double logLikelihood
 

Protected Attributes

unsigned _n
 
const vector< vector< double > > & _x
 
const vector< drwnGaussian > * _g
 
const VectorXd * _logLambda
 
unsigned _offset
 
unsigned _step
 

Additional Inherited Members

- Protected Member Functions inherited from drwnThreadJob
unsigned threadId ()
 obtain the id for the thread running (or that ran) this job. The return value is guaranteed to be between 0 and numThreads. Useful for accessing a global resource without colliding with other jobs.
 
void lock ()
 acquire a lock (on all jobs in the same thread pool)
 
void unlock ()
 release the lock (on all jobs in the same thread pool)
 

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