/disk4/html/www/moses/doxygen/mosesdecoder/moses/TranslationModel/ProbingPT/probing_hash_utils.hh File Reference

#include "util/probing_hash_table.hh"
#include <sys/mman.h>
#include <boost/functional/hash.hpp>
#include <fcntl.h>
#include <fstream>

Go to the source code of this file.


Classes

struct  Moses::Entry
struct  Moses::TargetPhraseInfo

Namespaces

namespace  Moses
 $Id$

Defines

#define API_VERSION   15
#define NONE   std::numeric_limits<uint64_t>::max()

Typedefs

typedef util::ProbingHashTable
< Entry, boost::hash< uint64_t > > 
Moses::Table

Functions

void Moses::serialize_table (char *mem, size_t size, const std::string &filename)
char * Moses::readTable (const char *filename, size_t size)
uint64_t Moses::getKey (const uint64_t source_phrase[], size_t size)


Define Documentation

#define API_VERSION   15

#define NONE   std::numeric_limits<uint64_t>::max()

Definition at line 31 of file probing_hash_utils.hh.

Referenced by lmtable::load(), main(), and Moses::Node::Write().


Generated on Thu Feb 16 00:31:34 2017 for Moses by  doxygen 1.5.9