14 #ifndef OR_TOOLS_BASE_THOROUGH_HASH_H_
15 #define OR_TOOLS_BASE_THOROUGH_HASH_H_
22 const uint64 kMul1 = 0xc6a4a7935bd1e995ULL;
23 const uint64 kMul2 = 0x228876a7198b743ULL;
24 uint64 a = fp1 * kMul1 + fp2 * kMul2;
28 return a + (~
a >> 47);
35 uint64 fp = 0xa5b85c5e198ed849ULL;
36 const char* end = bytes + len;
37 while (bytes + 8 <= end) {
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
uint64 MixTwoUInt64(uint64 fp1, uint64 fp2)
uint64 ThoroughHash(const char *bytes, size_t len)