30#define UNUSED_PARAMETER(x) ((void)(x))
37#define FALLTHROUGH __attribute__((fallthrough))
41#define SUMO_MAX_CONNECTIONS 256
90 return MIN2(c, a < b ? a : b);
97 return MAX2(c, a > b ? a : b);
141#define DEBUGOUT(cond, msg) if (cond) {std::ostringstream oss; oss << msg; std::cout << oss.str();}
144double truncate(
double x,
int fractionBits);
147double roundBits(
double x,
int fractionBits);
T MIN4(T a, T b, T c, T d)
const double INVALID_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 int INVALID_INT
invalid int
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
std::pair< int, double > MMVersion
(M)ajor/(M)inor version for written networks and default version for loading
double gWeightsWalkOppositeFactor
const double SUMO_const_laneMarkWidth
const double SUMO_const_haltingSpeed
the speed threshold at which vehicles are considered as halting
std::string gLanguage
the language for GUI elements and messages
const double SUMO_const_halfLaneWidth
T MAX4(T a, T b, T c, T d)
const double SUMO_const_waitingContainerWidth
const MMVersion NETWORK_VERSION(1, 20)
bool gIgnoreUnknownVClass
double roundDecimal(double x, int precision)
round to the given number of decimal digits
const double SUMO_const_waitingPersonWidth
bool gDebugFlag1
global utility flags for debugging
const double SUMO_const_waitingContainerDepth
int GUIDesignHeight
the default size for GUI elements