#include <ze-sys.h>
#include <libze.h>
#include <libml.h>
#include "ze-filter.h"
Go to the source code of this file.
|
#define | LR_CLASS2LABEL(class) |
|
#define | LR_LABEL2CLASS(label) |
|
#define | DHIST 100000 |
|
#define | LR_EVT_FILL(evt, cmd, date, class, fname) |
|
#define | DPILE 20000 |
|
#define | PILE_INIT(p) |
|
#define | CLI_NONE 0 |
|
#define | CLI_CLASSIFY 1 |
|
#define | CLI_LEARN 2 |
|
#define | CLI_ONLINE 3 |
|
#define | CLI_OPT_INIT {FALSE, FALSE, 0.2, 0.05, NULL, -1., -1., FALSE} |
|
#define | DPILE 20000 |
|
|
void | usage (char *) |
|
int | main (int argc, char **argv) |
|
◆ CLI_CLASSIFY
◆ CLI_LEARN
◆ CLI_NONE
◆ CLI_ONLINE
◆ CLI_OPT_INIT
◆ DHIST
◆ DPILE [1/2]
◆ DPILE [2/2]
◆ LR_CLASS2LABEL
#define LR_CLASS2LABEL |
( |
|
class | ) |
|
Value:
Definition at line 35 of file ze-lr.c.
◆ LR_EVT_FILL
#define LR_EVT_FILL |
( |
|
evt, |
|
|
|
cmd, |
|
|
|
date, |
|
|
|
class, |
|
|
|
fname |
|
) |
| |
Value:do { \
if ((evt) != NULL) { \
memset((evt), 0, sizeof(*(evt))); \
(evt)->date = (date); \
(evt)->class = (class); \
strlcpy((evt)->fname, (fname), sizeof((evt)->fname)); \
(evt)->cmd = (cmd); \
} \
} while (0)
Definition at line 76 of file ze-lr.c.
◆ LR_LABEL2CLASS
#define LR_LABEL2CLASS |
( |
|
label | ) |
|
Value: LR_CLASS_UNKNOWN)
#define STRCASEEQUAL(a, b)
Definition at line 39 of file ze-lr.c.
◆ PILE_INIT
Value:do { \
if (p != NULL) \
memset(p, 0, sizeof(p)); \
} while(0)
Definition at line 98 of file ze-lr.c.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ usage()