ze-filter  (ze-filter-0.8.0-develop-180218)
ze-bayes-tbx.c File Reference
#include <ze-sys.h>
#include <libze.h>
#include <libml.h>
#include "ze-filter.h"

Go to the source code of this file.

Classes

struct  db_info_T
 
struct  btok_arg_T
 

Macros

#define OPTSTR_INIT   "hiclga"
 
#define OPTSTR_HELP   "x"
 
#define OPTSTR_INFO   "x"
 
#define OPTSTR_CHECK   "x"
 
#define OPTSTR_LEARN   "x"
 
#define OPTSTR_GROUP   "x"
 
#define OPTSTR_AGGREG   "x"
 
#define OPTSTR_GENERAL   "vpM:"
 
#define OPT_INIT   0
 
#define OPT_HELP   1
 
#define OPT_INFO   5
 
#define OPT_CHECK   3
 
#define OPT_LEARN   2
 
#define OPT_GROUP   4
 
#define OPT_AGGREG   5
 
#define SET_STATE(new)
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

◆ OPT_AGGREG

#define OPT_AGGREG   5

Definition at line 95 of file ze-bayes-tbx.c.

◆ OPT_CHECK

#define OPT_CHECK   3

Definition at line 92 of file ze-bayes-tbx.c.

◆ OPT_GROUP

#define OPT_GROUP   4

Definition at line 94 of file ze-bayes-tbx.c.

◆ OPT_HELP

#define OPT_HELP   1

Definition at line 90 of file ze-bayes-tbx.c.

◆ OPT_INFO

#define OPT_INFO   5

Definition at line 91 of file ze-bayes-tbx.c.

◆ OPT_INIT

#define OPT_INIT   0

Definition at line 89 of file ze-bayes-tbx.c.

◆ OPT_LEARN

#define OPT_LEARN   2

Definition at line 93 of file ze-bayes-tbx.c.

◆ OPTSTR_AGGREG

#define OPTSTR_AGGREG   "x"

Definition at line 84 of file ze-bayes-tbx.c.

◆ OPTSTR_CHECK

#define OPTSTR_CHECK   "x"

Definition at line 81 of file ze-bayes-tbx.c.

◆ OPTSTR_GENERAL

#define OPTSTR_GENERAL   "vpM:"

Definition at line 86 of file ze-bayes-tbx.c.

◆ OPTSTR_GROUP

#define OPTSTR_GROUP   "x"

Definition at line 83 of file ze-bayes-tbx.c.

◆ OPTSTR_HELP

#define OPTSTR_HELP   "x"

Definition at line 79 of file ze-bayes-tbx.c.

◆ OPTSTR_INFO

#define OPTSTR_INFO   "x"

Definition at line 80 of file ze-bayes-tbx.c.

◆ OPTSTR_INIT

#define OPTSTR_INIT   "hiclga"

Definition at line 78 of file ze-bayes-tbx.c.

◆ OPTSTR_LEARN

#define OPTSTR_LEARN   "x"

Definition at line 82 of file ze-bayes-tbx.c.

◆ SET_STATE

#define SET_STATE (   new)
Value:
do { \
opt_state = new; \
switch (opt_state) { \
case OPT_INIT: \
break; \
case OPT_HELP: \
break; \
case OPT_INFO: \
break; \
case OPT_CHECK: \
break; \
case OPT_LEARN: \
break; \
case OPT_GROUP: \
break; \
} \
} while (0)
#define OPTSTR_LEARN
Definition: ze-bayes-tbx.c:82
#define OPTSTR_GROUP
Definition: ze-bayes-tbx.c:83
#define OPTSTR_INFO
Definition: ze-bayes-tbx.c:80
#define OPTSTR_GENERAL
Definition: ze-bayes-tbx.c:86
#define OPT_CHECK
Definition: ze-bayes-tbx.c:92
#define OPTSTR_CHECK
Definition: ze-bayes-tbx.c:81
#define OPT_INIT
Definition: ze-bayes-tbx.c:89
#define OPTSTR_INIT
Definition: ze-bayes-tbx.c:78
#define OPT_LEARN
Definition: ze-bayes-tbx.c:93
#define OPT_GROUP
Definition: ze-bayes-tbx.c:94
#define OPT_HELP
Definition: ze-bayes-tbx.c:90
#define OPT_INFO
Definition: ze-bayes-tbx.c:91
#define OPTSTR_HELP
Definition: ze-bayes-tbx.c:79

Definition at line 97 of file ze-bayes-tbx.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 125 of file ze-bayes-tbx.c.