Go to the source code of this file.
Data Structures | |
struct | params_t |
Functions | |
void | print_init_info (params_t *params, gk_csr_t *mat) |
void | print_final_info (params_t *params) |
params_t * | parse_cmdline (int argc, char *argv[]) |
void | print_an_itemset (void *stateptr, int nitems, int *itemind, int ntrans, int *tranind) |
int | main (int argc, char *argv[]) |
Variables | |
static struct gk_option | long_options [] |
static char | helpstr [][100] |
static char | shorthelpstr [][100] |
$Id: fis.c 11075 2011-11-11 22:31:52Z karypis $
Definition in file fis.c.
Function prototypes
This function prints run parameters
Definition at line 160 of file fis.c.
References params_t::filename, params_t::maxfreq, params_t::maxlen, params_t::minfreq, and params_t::minlen.
Referenced by main().
void print_final_info | ( | params_t * | params | ) |
This function prints final statistics
Definition at line 181 of file fis.c.
References gk_GetCurMemoryUsed(), and gk_GetMaxMemoryUsed().
Referenced by main().
This is the entry point of the command-line argument parser
Definition at line 194 of file fis.c.
References c, params_t::clabelfile, errexit(), params_t::filename, gk_fexists(), gk_getopt_long_only(), gk_malloc(), gk_optarg, gk_optind, gk_strdup(), helpstr, params_t::maxfreq, params_t::maxlen, params_t::minfreq, params_t::minlen, shorthelpstr, and params_t::silent.
Referenced by main().
This is the callback function for the itemset discovery routine
Definition at line 268 of file fis.c.
References params_t::clabels, params_t::nitemsets, and params_t::silent.
Referenced by main().
the entry point
Definition at line 110 of file fis.c.
References params_t::clabelfile, params_t::clabels, errexit(), params_t::filename, gk_csr_CreateIndex(), gk_csr_Read(), gk_csr_t, gk_fclose(), gk_find_frequent_itemsets(), gk_fopen(), gk_malloc(), gk_strdup(), gk_strtprune(), params_t::maxfreq, params_t::maxlen, params_t::minfreq, params_t::minlen, params_t::nitemsets, parse_cmdline(), print_an_itemset(), print_final_info(), and print_init_info().
struct gk_option long_options[] [static] |
char helpstr[][100] [static] |
char shorthelpstr[][100] [static] |
Initial value:
{ " ", " Usage: fis [options] <mat-file>", " use 'fis -help' for a summary of the options.", "" }
Definition at line 88 of file fis.c.
Referenced by parse_cmdline().