#include <math.h>
#include "HLabViterbi.h"
#include "HLabHMM.h"
#include "HLabFeat.h"
#include "HLabConst.h"
#include "libutil.h"
Defines | |
#define | MAX2(X, Y) (((X) > (Y))? (X) : (Y)) |
#define | MAX3(X, Y, Z) MAX2(MAX2(X, Y), Z) |
#define | MIN2(X, Y) (((X) < (Y))? (X) : (Y)) |
#define | MIN3(X, Y, Z) (MIN2(MIN2(X, Y), Z)) |
#define | SQ(X) ((X) * (X)) |
#define MAX2 | ( | X, | |||
Y | ) | (((X) > (Y))? (X) : (Y)) |
#define MAX3 | ( | X, | |||
Y, | |||||
Z | ) | MAX2(MAX2(X, Y), Z) |
#define MIN2 | ( | X, | |||
Y | ) | (((X) < (Y))? (X) : (Y)) |
#define MIN3 | ( | X, | |||
Y, | |||||
Z | ) | (MIN2(MIN2(X, Y), Z)) |
#define SQ | ( | X | ) | ((X) * (X)) |