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

DecoderBase< O > Class Template Reference

#include <DecoderBase.hpp>

Inheritance diagram for DecoderBase< O >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef O::params_t params_t

Public Member Functions

 DecoderBase (const params_t *par)
void setCodeInverse (const std::vector< item_t > &code_inverse)
 This sets the invers of codes.

Detailed Description

template<class O>
class DecoderBase< O >

Definition at line 23 of file DecoderBase.hpp.


Member Typedef Documentation

template<class O>
typedef O::params_t DecoderBase< O >::params_t
 

Reimplemented in CacheDecoderBase< FR >, bracz::DFDecoderWrapper< FR >, SimpleBufferedDFDecoder< FR >, SimpleDFDecoder< O >, CacheNormalDecoder< FR >, SimpleNormalDecoder< O >, NotRealDecoder< FR >, SimpleAssocRuleWriter, and SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >.

Definition at line 26 of file DecoderBase.hpp.


Constructor & Destructor Documentation

template<class O>
DecoderBase< O >::DecoderBase const params_t par  )  [inline]
 

Definition at line 28 of file DecoderBase.hpp.


Member Function Documentation

template<class O>
void DecoderBase< O >::setCodeInverse const std::vector< item_t > &  code_inverse  )  [inline]
 

This sets the invers of codes.

Parameters:
code_inverse the inverse of the codes. Assume that the new code of item i is denoted by code[i]. Then code_inverse[code[i]-1]=i if i is a frequent item.

Reimplemented in CacheDecoderBase< FR >, NotRealDecoder< FR >, SimpleDecoderBase< O >, SimpleDecoderBase< FR >, SimpleDecoderBase< BufferedOutput< FR > >, and SimpleDecoderBase< BufferedNormalOutput< StreamRepr > >.

Definition at line 35 of file DecoderBase.hpp.


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