Cache Class Reference

List of all members.

Public Member Functions

SentIdSet get (const std::string &phrase)
void put (const std::string &phrase, const SentIdSet set)
void prune ()

Static Public Member Functions

static void set_max_cache (size_t max_cache)


Detailed Description

Definition at line 71 of file filter-pt.cc.


Member Function Documentation

SentIdSet Cache::get ( const std::string &  phrase  )  [inline]

Definition at line 77 of file filter-pt.cc.

Referenced by lookup_phrase().

Here is the caller graph for this function:

void Cache::prune (  )  [inline]

Definition at line 96 of file filter-pt.cc.

References sort().

Here is the call graph for this function:

void Cache::put ( const std::string &  phrase,
const SentIdSet  set 
) [inline]

Definition at line 87 of file filter-pt.cc.

Referenced by lookup_phrase().

Here is the caller graph for this function:

static void Cache::set_max_cache ( size_t  max_cache  )  [inline, static]

Definition at line 92 of file filter-pt.cc.

Referenced by main().

Here is the caller graph for this function:


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

Generated on Thu Jul 6 00:31:45 2017 for Moses by  doxygen 1.5.9