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

SparseBitmatrix_create.hpp File Reference

#include "common/debug.hpp"
#include <vector>

Include dependency graph for SparseBitmatrix_create.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __SPARSEBITMATRIX_CREATE_HPP_   t
 SparseBitmatrix_create.hpp -- create a sparse item transaction incidence bitmatrix from transaction data.

Typedefs

typedef std::vector< std::pair<
counter_t, item_t > > 
CounterItemPairs

Functions

template<class TRANSACTION_READER>
SparseBitmatrixcreateSparseItemTransactionIncidenceMatrix (TRANSACTION_READER &tdb, CounterItemPairs &freqItems)
 Create a sparse item transaction incidence bitmatrix from transaction data.


Define Documentation

#define __SPARSEBITMATRIX_CREATE_HPP_   t
 

SparseBitmatrix_create.hpp -- create a sparse item transaction incidence bitmatrix from transaction data.

Definition at line 7 of file SparseBitmatrix_create.hpp.


Typedef Documentation

typedef std::vector<std::pair<counter_t, item_t> > CounterItemPairs
 

Definition at line 18 of file SparseBitmatrix_create.hpp.


Function Documentation

template<class TRANSACTION_READER>
SparseBitmatrix* createSparseItemTransactionIncidenceMatrix TRANSACTION_READER &  tdb,
CounterItemPairs freqItems
 

Create a sparse item transaction incidence bitmatrix from transaction data.

Parameters:
tdb transaction reader for transaction database that contains only frequent items.
freqItems pairs of items and occurrence counters (for frequent items).
Returns:
a sparse item transaction incidence bitmatrix for all frequent items in the transaction database.

Definition at line 27 of file SparseBitmatrix_create.hpp.

References SparseBitmatrix::push_back().

Referenced by Eclat< TRANSACTION_READER, PATTERN_WRITER >::findFrequentPatterns().


Generated on Sun Sep 17 17:54:20 2006 for FIM environment by  doxygen 1.4.4