blob: 9726379fbc618326e84aa45562fd3ae6eb853ab8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef SEARCH_TYPES__
#define SEARCH_TYPES__
#include <cmath>
namespace search {
typedef float Score;
const Score kScoreInf = INFINITY;
// This could have been an enum but gcc wants 4 bytes.
typedef bool ExtendDirection;
const ExtendDirection kExtendLeft = 0;
const ExtendDirection kExtendRight = 1;
} // namespace search
#endif // SEARCH_TYPES__
|