Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
RoutingKit/include/routingkit/Constants.h
Go to the documentation of this file.
1
#ifndef ROUTING_KIT_CONSTANTS_H
2
#define ROUTING_KIT_CONSTANTS_H
3
4
namespace
RoutingKit
{
5
6
const
unsigned
invalid_id
= 4294967295u;
7
const
unsigned
inf_weight
= 2147483647u;
8
9
static_assert
(
inf_weight
+
inf_weight
>
inf_weight
,
"inf_weight is too large"
);
10
static_assert
(
sizeof
(unsigned)==4,
"code base assumes that unsigned is 32 bit wide"
);
11
12
}
// namespace RoutingKit
13
14
#endif
RoutingKit
Definition
bit_vector.h:8
RoutingKit::invalid_id
const unsigned invalid_id
Definition
RoutingKit/include/routingkit/Constants.h:6
RoutingKit::inf_weight
const unsigned inf_weight
Definition
RoutingKit/include/routingkit/Constants.h:7
src
foreign
RoutingKit
include
routingkit
constants.h
Generated on Wed Sep 23 2026 00:09:29 for Eclipse SUMO - Simulation of Urban MObility by
1.9.8