#include <seq_tokenizer.h>
Public Types | |
| typedef pattern_support< V_Fkk_MINE_PROP > | PAT_SUP |
|
typedef vat< SEQ_PROP, V_Fkk_MINE_PROP, ALLOC, std::vector > | VAT |
| typedef seq_instance< V_Fkk_MINE_PROP > | INSTANCE |
| typedef SEQ_PATTERN::VERTEX_T | V_T |
| typedef SEQ_PATTERN::EDGE_T | E_T |
Public Member Functions | |
| tokenizer (int max=LINE_SZ) | |
| template<class SM_T> | |
| int | parse_next_trans (ifstream &infile, pat_fam< SEQ_PATTERN > &freq_pats, storage_manager< SEQ_PATTERN, VAT, ALLOC, SM_T > &vat_hmap) |
the template argument is instantiated with a pattern that has directed, acyclic, indegree_lte_one, outdegree_lte_one pattern property(tree), MINING_PROPS type of mining property, ST type of pattern storage and CC type of canocial code.
| tokenizer< SEQ_PATTERN, DMTL_TKNZ_PROP, ALLOC >::tokenizer | ( | int | max = LINE_SZ |
) | [inline] |
default constructor
| int tokenizer< SEQ_PATTERN, DMTL_TKNZ_PROP, ALLOC >::parse_next_trans | ( | ifstream & | infile, | |
| pat_fam< SEQ_PATTERN > & | freq_pats, | |||
| storage_manager< SEQ_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