#include <StatCoder.hpp>
Public Types | |
| typedef CODER::params_t | params_t |
Public Member Functions | |
| StatCoder (const params_t *par) | |
| template<class BIS> | |
| counter_t | nextTransactionBIS (BIS &transaction) |
| template<class UAC> | |
| counter_t | nextTransactionUAC (UAC &transaction) |
Protected Attributes | |
| bool | first_run |
| unsigned int | nr_of_transactions |
| unsigned int | sum_of_tr_sizes |
.. new codes to the frequent items. Actually, this class can be regarded as a wrapper around a transaction reader, that changes the items of the read in transaction with new codes. Obviuosly, when an itemset is written out, the items must be decoded. Writting out a coded itemset, however, is not the duty of the StatCoder class but rather the duty of a decoder. After the StatCoder generated the new codes it calls the setCodeInverse function of the decoder.
| T_R | the transaction reader | |
| D | the decoder |
Definition at line 25 of file StatCoder.hpp.
|
|||||
|
Definition at line 28 of file StatCoder.hpp. |
|
||||||||||
|
Definition at line 29 of file StatCoder.hpp. |
|
||||||||||||||
|
Definition at line 31 of file StatCoder.hpp. References StatCoder< CODER >::first_run, StatCoder< CODER >::nr_of_transactions, and StatCoder< CODER >::sum_of_tr_sizes. |
|
||||||||||||||
|
Definition at line 52 of file StatCoder.hpp. References StatCoder< CODER >::first_run, StatCoder< CODER >::nr_of_transactions, and StatCoder< CODER >::sum_of_tr_sizes. |
|
|||||
|
Definition at line 71 of file StatCoder.hpp. Referenced by StatCoder< CODER >::nextTransactionBIS(), and StatCoder< CODER >::nextTransactionUAC(). |
|
|||||
|
Definition at line 72 of file StatCoder.hpp. Referenced by StatCoder< CODER >::nextTransactionBIS(), and StatCoder< CODER >::nextTransactionUAC(). |
|
|||||
|
Definition at line 73 of file StatCoder.hpp. Referenced by StatCoder< CODER >::nextTransactionBIS(), and StatCoder< CODER >::nextTransactionUAC(). |
1.4.4