Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Coder< T_R, D > Class Template Reference

#include <Coder.hpp>

List of all members.

Public Member Functions

 Coder (const params_t *par)
template<class BIS>
counter_t nextTransactionBIS (BIS &transaction)
template<class UAC>
counter_t nextTransactionUAC (UAC &transaction)

Protected Attributes

std::vector< item_tcode
 The new codes of the frequent items.

Classes

class  params_t


Detailed Description

template<class T_R, class D>
class Coder< T_R, D >

Definition at line 41 of file Coder.hpp.


Constructor & Destructor Documentation

template<class T_R, class D>
Coder< T_R, D >::Coder const params_t par  ) 
 

Definition at line 79 of file Coder.hpp.

References Coder< T_R, D >::code, Coder< T_R, D >::params_t::codemode, Coder< T_R, D >::params_t::decoder, DESC, Coder< T_R, D >::params_t::freq_counters, Coder< T_R, D >::params_t::freq_items_with_counters, and NOCARE.


Member Function Documentation

template<class T_R, class D>
template<class BIS>
counter_t Coder< T_R, D >::nextTransactionBIS BIS &  transaction  )  [inline]
 

Definition at line 108 of file Coder.hpp.

References Coder< T_R, D >::code, and TYPENAME.

template<class T_R, class D>
template<class UAC>
counter_t Coder< T_R, D >::nextTransactionUAC UAC &  transaction  )  [inline]
 

Definition at line 128 of file Coder.hpp.

References Coder< T_R, D >::code.


Member Data Documentation

template<class T_R, class D>
std::vector<item_t> Coder< T_R, D >::code [protected]
 

The new codes of the frequent items.

if code[i] is 0, then i is not frequent, otherwise the new code of item i is code[i]-1.

Definition at line 75 of file Coder.hpp.

Referenced by Coder< T_R, D >::Coder(), Coder< T_R, D >::nextTransactionBIS(), and Coder< T_R, D >::nextTransactionUAC().


The documentation for this class was generated from the following file:
Generated on Sun Sep 17 17:55:15 2006 for FIM environment by  doxygen 1.4.4