#include <iset_tokenizer.h>
Public Types | |
typedef pattern_support< V_Fkk_MINE_PROP > | PAT_SUP |
typedef vat< ISET_PROP, V_Fkk_MINE_PROP, ALLOC, std::vector > | VAT |
typedef ISET_PATTERN::VERTEX_T | V_T |
typedef ISET_PATTERN::EDGE_T | E_T |
typedef int | VAT_T |
Public Member Functions | |
tokenizer (int max=LINE_SZ) | |
template<class SM_T> | |
int | parse_next_trans (std::ifstream &infile, pat_fam< ISET_PATTERN > &freq_pats, storage_manager< ISET_PATTERN, VAT, ALLOC, SM_T > &vat_hmap) |
the template argument is instantiated with a pattern that has no_edge pattern property, Fk X Fk and vert_mine mining property, PAT_ST type of pattern storage and CC type of canocial code.
typedef int tokenizer< ISET_PATTERN, DMTL_TKNZ_PROP, ALLOC >::VAT_T |
VAT id-type for itemset
tokenizer< ISET_PATTERN, DMTL_TKNZ_PROP, ALLOC >::tokenizer | ( | int | max = LINE_SZ |
) | [inline] |
default constructor
int tokenizer< ISET_PATTERN, DMTL_TKNZ_PROP, ALLOC >::parse_next_trans | ( | std::ifstream & | infile, | |
pat_fam< ISET_PATTERN > & | freq_pats, | |||
storage_manager< ISET_PATTERN, VAT, ALLOC, SM_T > & | vat_hmap | |||
) | [inline] |
Returns the TID of transaction read; parses one transaction from input database, and collects VATS in vat_hmap return value is -1 on end of stream