30 #define UNUSED_PARAMETER(x) ((void)(x))
37 #define FALLTHROUGH __attribute__((fallthrough))
41 #define SUMO_MAX_CONNECTIONS 256
88 return MIN2(c, a < b ? a : b);
95 return MAX2(c, a > b ? a : b);
138 #define DEBUGOUT(msg) {std::ostringstream oss; oss << msg; std::cout << oss.str();}
141 double truncate(
double x,
int fractionBits);
144 double roundBits(
double x,
int fractionBits);
T MIN4(T a, T b, T c, T d)
const double INVALID_DOUBLE
int getScalingQuota(double frac, int loaded)
Returns the number of instances of the current object that shall be emitted given the number of loade...
const double SUMO_const_laneWidth
const double SUMO_const_quarterLaneWidth
double truncate(double x, int fractionBits)
discrds mantissa bits beyond the given number
const double SUMO_const_waitingPersonDepth
int gPrecision
the precision for floating point outputs
double gWeightsRandomFactor
double roundBits(double x, int fractionBits)
round to the given number of mantissa bits beyond the given number
const double SUMO_const_laneWidthAndOffset
const double SUMO_const_laneOffset
double gWeightsWalkOppositeFactor
const double SUMO_const_laneMarkWidth
const double SUMO_const_haltingSpeed
the speed threshold at which vehicles are considered as halting
const double NETWORK_VERSION
version for written networks and default version for loading
const double SUMO_const_halfLaneWidth
T MAX4(T a, T b, T c, T d)
const double SUMO_const_waitingContainerWidth
const double SUMO_const_halfLaneAndOffset
const double SUMO_const_waitingPersonWidth
bool gDebugFlag1
global utility flags for debugging
const double SUMO_const_waitingContainerDepth