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

SimpleDecoderBase< O > Class Template Reference

This is a very simple decoder. More...

#include <SimpleDecoderBase.hpp>

Inheritance diagram for SimpleDecoderBase< O >:

Inheritance graph
[legend]
Collaboration diagram for SimpleDecoderBase< O >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef O::params_t params_t

Public Member Functions

 SimpleDecoderBase (const typename DecoderBase< O >::params_t *par)
void setCodeInverse (const std::vector< item_t > &code_inverse)

Protected Attributes

std::vector< item_tcode_inverse
 The inverse of code vector.

Detailed Description

template<class O = BufferedNormalOutput<>>
class SimpleDecoderBase< O >

This is a very simple decoder.

It just decodes the items of the itemset and sends the result to an output manager.

O must be an output manager that implements writeItemsetAndCounter.

Definition at line 21 of file SimpleDecoderBase.hpp.


Member Typedef Documentation

template<class O>
typedef O::params_t DecoderBase< O >::params_t [inherited]
 

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 = BufferedNormalOutput<>>
SimpleDecoderBase< O >::SimpleDecoderBase const typename DecoderBase< O >::params_t par  )  [inline]
 

Definition at line 24 of file SimpleDecoderBase.hpp.


Member Function Documentation

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

Reimplemented from DecoderBase< O >.

Definition at line 26 of file SimpleDecoderBase.hpp.


Member Data Documentation

template<class O = BufferedNormalOutput<>>
std::vector<item_t> SimpleDecoderBase< O >::code_inverse [protected]
 

The inverse of code vector.

code_inverse[i] stores the original code of the item, whose new code is i.

Definition at line 39 of file SimpleDecoderBase.hpp.

Referenced by SimpleNormalDecoder< O >::writeItemsetAndCounter().


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