#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_DELAY_FN_CTE 0 |
|
#define | CLI_DELAY_FN_EXP 1 |
|
#define | CLI_DELAY_FN_FIX 2 |
|
#define | CLI_OPT_INIT {FALSE, 7200, CLI_DELAY_FN_CTE, FALSE, -1., FALSE, -1., FALSE, 0, 0} |
|
#define | ST_DIM 0x10000 |
|
#define | DPILE 20000 |
|
#define | OPTION_BOOL(args, v) |
|
#define | OPTION_INT(args, v) |
|
#define | OPTION_DOUBLE(args, v) |
|
|
void | usage (char *) |
|
int | main (int argc, char **argv) |
|
◆ CLI_CLASSIFY
◆ CLI_DELAY_FN_CTE
#define CLI_DELAY_FN_CTE 0 |
◆ CLI_DELAY_FN_EXP
#define CLI_DELAY_FN_EXP 1 |
◆ CLI_DELAY_FN_FIX
#define CLI_DELAY_FN_FIX 2 |
◆ CLI_LEARN
◆ CLI_NONE
◆ CLI_ONLINE
◆ CLI_OPT_INIT
◆ DHIST
◆ DPILE [1/2]
◆ DPILE [2/2]
◆ LR_CLASS2LABEL
#define LR_CLASS2LABEL |
( |
|
class | ) |
|
◆ 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-sim.c.
◆ LR_LABEL2CLASS
#define LR_LABEL2CLASS |
( |
|
label | ) |
|
Value: LR_CLASS_UNKNOWN)
#define STRCASEEQUAL(a, b)
Definition at line 39 of file ze-lr-sim.c.
◆ OPTION_BOOL
#define OPTION_BOOL |
( |
|
args, |
|
|
|
v |
|
) |
| |
Value:{ \
}
bool zeStrRegex(char *, char *, long *, long *, bool)
Definition at line 1279 of file ze-lr-sim.c.
◆ OPTION_DOUBLE
#define OPTION_DOUBLE |
( |
|
args, |
|
|
|
v |
|
) |
| |
Value:{ \
}
double zeStr2double(char *s, int *error, double dval)
Definition at line 1292 of file ze-lr-sim.c.
◆ OPTION_INT
#define OPTION_INT |
( |
|
args, |
|
|
|
v |
|
) |
| |
Value:{ \
}
long zeStr2long(char *s, int *error, long dval)
Definition at line 1287 of file ze-lr-sim.c.
◆ PILE_INIT
Value:do { \
if (p != NULL) \
memset(p, 0, sizeof(p)); \
} while(0)
Definition at line 98 of file ze-lr-sim.c.
◆ ST_DIM
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ usage()