src/commons/types.h File Reference

#include <vector>
#include "tbb/spin_rw_mutex.h"
#include "document.pb.h"
#include "tbb/tick_count.h"
#include <sstream>
#include <boost/random/mersenne_twister.hpp>
#include "glog/logging.h"
#include "boost/unordered_map.hpp"
#include "tbb/atomic.h"

Go to the source code of this file.

Classes

class  InvalidOldTopicExc

Defines

#define TIME(t)   tick_count t = tick_count::now()
#define PRINT_TIME(t1, t2, str)   cout << "Time taken to " #str << " : " << (t2-t1).seconds() << " secs" << endl

Typedefs

typedef int32_t size_int
typedef boost::mt19937 base_generator_type
typedef std::pair< topic_t, float > tppair
typedef std::pair< word_t, float > wppair
typedef std::pair
< bigram_key_t, float > 
bigppair
typedef boost::unordered_map
< topic_t, cnt_t > 
mapped_vec

Define Documentation

#define PRINT_TIME ( t1,
t2,
str   )     cout << "Time taken to " #str << " : " << (t2-t1).seconds() << " secs" << endl
#define TIME (  )     tick_count t = tick_count::now()

Typedef Documentation

typedef boost::mt19937 base_generator_type
typedef std::pair<bigram_key_t, float> bigppair
typedef boost::unordered_map<topic_t, cnt_t> mapped_vec
typedef int32_t size_int
typedef std::pair<topic_t, float> tppair
typedef std::pair<word_t, float> wppair
Generated on Tue Jul 19 11:45:25 2011 for Y!LDA by  doxygen 1.6.3