#include <mset_tokenizer.h>
Public Types | |
| typedef pattern_support< V_Fkk_MINE_PROP > | PAT_SUP |
|
typedef vat< MSET_PROP, V_Fkk_MINE_PROP, ALLOC, std::vector > | VAT |
| typedef MSET_PATTERN::VERTEX_T | V_T |
| typedef MSET_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< MSET_PATTERN > &freq_pats, storage_manager< MSET_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< MSET_PATTERN, DMTL_TKNZ_PROP, ALLOC >::VAT_T |
VAT id-type for itemset
| tokenizer< MSET_PATTERN, DMTL_TKNZ_PROP, ALLOC >::tokenizer | ( | int | max = LINE_SZ |
) | [inline] |
default constructor
| int tokenizer< MSET_PATTERN, DMTL_TKNZ_PROP, ALLOC >::parse_next_trans | ( | std::ifstream & | infile, | |
| pat_fam< MSET_PATTERN > & | freq_pats, | |||
| storage_manager< MSET_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
1.4.7