src/Unigram_Model/TopicLearner/sampler.h File Reference

#include "constants.h"
#include <boost/random/variate_generator.hpp>
#include <boost/random/uniform_real.hpp>
#include "tbb/atomic.h"
#include "TopicCounts.h"

Go to the source code of this file.

Namespaces

namespace  sampler

Functions

topic_t sampler::sample (const topicCounts *currentTypeTopicCounts, topic_t old_topic, const atomic< topic_t > *tokens_per_topic, const topic_t *local_topic_counts, const topic_t *local_topic_index, const int &non_zero_topics, const double &smoothingOnlyMass, const double &topicBetaMass, const double *cachedCoefficients, const double &betaSum, const double *alpha, double *topic_term_scores, const topic_t &numTopics, variate_generator< base_generator_type &, boost::uniform_real<> > *unif01)
Generated on Tue Jul 19 11:45:25 2011 for Y!LDA by  doxygen 1.6.3