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

SimpleDFDecoder< O > Class Template Reference

#include <SimpleDFDecoder.hpp>

Inheritance diagram for SimpleDFDecoder< O >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef SimpleDecoderBase<
O >::params_t 
params_t

Public Member Functions

 SimpleDFDecoder (const params_t *par)
void pushItem (item_t item)
void write (const counter_t support)
void writeNEE (const counter_t support, const std::vector< item_t > &nee_items)
void pushItemWithWrite (item_t item, counter_t support)
void pushItemWithPrevSupport (item_t item)
void popItem ()
void setCodeInverse (const std::vector< item_t > &code_inverse)

Static Public Member Functions

static bool DINLINE isDFO ()

Protected Attributes

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

Private Attributes

std::vector< item_tdecoded_set
counter_t last_support

Detailed Description

template<class O = BufferedNormalOutput<>>
class SimpleDFDecoder< O >

Author:
Ferenc Bodon

Definition at line 12 of file SimpleDFDecoder.hpp.


Member Typedef Documentation

template<class O = BufferedNormalOutput<>>
typedef SimpleDecoderBase<O>::params_t SimpleDFDecoder< O >::params_t
 

Reimplemented from DecoderBase< O >.

Reimplemented in SimpleAssocRuleWriter.

Definition at line 16 of file SimpleDFDecoder.hpp.


Constructor & Destructor Documentation

template<class O = BufferedNormalOutput<>>
SimpleDFDecoder< O >::SimpleDFDecoder const params_t par  )  [inline]
 

Definition at line 17 of file SimpleDFDecoder.hpp.


Member Function Documentation

template<class O = BufferedNormalOutput<>>
static bool DINLINE SimpleDFDecoder< O >::isDFO  )  [inline, static]
 

Definition at line 20 of file SimpleDFDecoder.hpp.

template<class O = BufferedNormalOutput<>>
void SimpleDFDecoder< O >::popItem  )  [inline]
 

Definition at line 50 of file SimpleDFDecoder.hpp.

Referenced by SimpleDFDecoder< O >::writeNEE().

template<class O = BufferedNormalOutput<>>
void SimpleDFDecoder< O >::pushItem item_t  item  )  [inline]
 

Definition at line 25 of file SimpleDFDecoder.hpp.

Referenced by SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >::pushItemWithWrite(), and SimpleDFDecoder< O >::writeNEE().

template<class O = BufferedNormalOutput<>>
void SimpleDFDecoder< O >::pushItemWithPrevSupport item_t  item  )  [inline]
 

Definition at line 45 of file SimpleDFDecoder.hpp.

template<class O = BufferedNormalOutput<>>
void SimpleDFDecoder< O >::pushItemWithWrite item_t  item,
counter_t  support
[inline]
 

Definition at line 39 of file SimpleDFDecoder.hpp.

Referenced by SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >::pushItemWithPrevSupport().

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

Reimplemented from DecoderBase< O >.

Definition at line 26 of file SimpleDecoderBase.hpp.

template<class O = BufferedNormalOutput<>>
void SimpleDFDecoder< O >::write const counter_t  support  )  [inline]
 

Definition at line 30 of file SimpleDFDecoder.hpp.

Referenced by SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >::pushItemWithWrite(), and SimpleDFDecoder< O >::writeNEE().

template<class O>
void SimpleDFDecoder< O >::writeNEE const counter_t  support,
const std::vector< item_t > &  nee_items
[inline]
 

Definition at line 62 of file SimpleDFDecoder.hpp.

References SimpleDFDecoder< O >::popItem(), SimpleDFDecoder< O >::pushItem(), and SimpleDFDecoder< O >::write().


Member Data Documentation

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

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().

template<class O = BufferedNormalOutput<>>
std::vector<item_t> SimpleDFDecoder< O >::decoded_set [private]
 

Definition at line 56 of file SimpleDFDecoder.hpp.

Referenced by SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >::popItem(), SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >::pushItem(), and SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >::write().

template<class O = BufferedNormalOutput<>>
counter_t SimpleDFDecoder< O >::last_support [private]
 

Definition at line 57 of file SimpleDFDecoder.hpp.

Referenced by SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >::pushItemWithPrevSupport(), and SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >::write().


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