PandA-2024.02
|
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <fcntl.h>
#include "support.h"
Go to the source code of this file.
Data Structures | |
struct | bench_args_t |
Macros | |
#define | TYPE double |
#define | N_STATES 64 |
#define | N_OBS 140 |
#define | N_TOKENS 64 |
Typedefs | |
typedef uint8_t | tok_t |
typedef TYPE | prob_t |
typedef uint8_t | state_t |
typedef int32_t | step_t |
Functions | |
int | viterbi (tok_t obs[N_OBS], prob_t init[N_STATES], prob_t transition[N_STATES *N_STATES], prob_t emission[N_STATES *N_TOKENS], state_t path[N_OBS]) |
#define N_OBS 140 |
Definition at line 22 of file viterbi.h.
Referenced by check_data(), data_to_input(), data_to_output(), dump_obs(), dump_path(), input_to_data(), main(), output_to_data(), and viterbi().
#define N_STATES 64 |
Definition at line 21 of file viterbi.h.
Referenced by data_to_input(), dump_emission(), dump_init(), dump_transition(), input_to_data(), main(), and viterbi().
#define N_TOKENS 64 |
Definition at line 23 of file viterbi.h.
Referenced by data_to_input(), dump_emission(), input_to_data(), and main().