routingkit-cch 0.1.4

Rust bindings for RoutingKit's Customizable Contraction Hierarchies (CCH)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef ROUTING_KIT_CONSTANTS_H
#define ROUTING_KIT_CONSTANTS_H


namespace RoutingKit{

const unsigned invalid_id = 4294967295u;
const unsigned inf_weight = 2147483647u;

static_assert(inf_weight + inf_weight > inf_weight, "inf_weight is too large");
static_assert(sizeof(unsigned)==4, "code base assumes that unsigned is 32 bit wide");

} // namespace RoutingKit

#endif