randlm::BitFilter Class Reference

#include <RandLMFilter.h>

Inheritance diagram for randlm::BitFilter:

Inheritance graph
[legend]
Collaboration diagram for randlm::BitFilter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BitFilter (uint64_t bits)
 BitFilter (Moses::FileHandler *fin, bool loaddata=true)
virtual bool testBit (uint64_t location)
virtual bool setBit (uint64_t location)
virtual bool clearBit (uint64_t location)
bool save (Moses::FileHandler *fout)
float rho (uint64_t limit=0)

Protected Member Functions

bool load (Moses::FileHandler *fin)


Detailed Description

Definition at line 284 of file RandLMFilter.h.


Constructor & Destructor Documentation

randlm::BitFilter::BitFilter ( uint64_t  bits  )  [inline]

Definition at line 287 of file RandLMFilter.h.

randlm::BitFilter::BitFilter ( Moses::FileHandler fin,
bool  loaddata = true 
) [inline]

Definition at line 288 of file RandLMFilter.h.

References load().

Here is the call graph for this function:


Member Function Documentation

virtual bool randlm::BitFilter::clearBit ( uint64_t  location  )  [inline, virtual]

Definition at line 303 of file RandLMFilter.h.

References randlm::Filter< uint8_t >::addresses_, and randlm::Filter< uint8_t >::data_.

Referenced by OnlineRLM< T >::markPrefix().

Here is the caller graph for this function:

bool randlm::BitFilter::load ( Moses::FileHandler fin  )  [inline, protected]

Definition at line 323 of file RandLMFilter.h.

References rho().

Referenced by BitFilter().

Here is the call graph for this function:

Here is the caller graph for this function:

float randlm::BitFilter::rho ( uint64_t  limit = 0  )  [inline]

Definition at line 313 of file RandLMFilter.h.

References randlm::Filter< uint8_t >::cells_, randlm::Filter< uint8_t >::data_, and range.

Referenced by load(), and save().

Here is the caller graph for this function:

bool randlm::BitFilter::save ( Moses::FileHandler fout  )  [inline, virtual]

Reimplemented from randlm::Filter< uint8_t >.

Definition at line 308 of file RandLMFilter.h.

References rho().

Referenced by OnlineRLM< T >::save().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool randlm::BitFilter::setBit ( uint64_t  location  )  [inline, virtual]

Definition at line 298 of file RandLMFilter.h.

References randlm::Filter< uint8_t >::addresses_, and randlm::Filter< uint8_t >::data_.

Referenced by OnlineRLM< T >::markPrefix(), and OnlineRLM< T >::markQueried().

Here is the caller graph for this function:

virtual bool randlm::BitFilter::testBit ( uint64_t  location  )  [inline, virtual]


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

Generated on Mon Aug 17 00:35:01 2015 for Moses by  doxygen 1.5.9