39 static std::string
getEdgeID(
const std::string& calibratorID);
40 static std::string
getLaneID(
const std::string& calibratorID);
42 static double getSpeed(
const std::string& calibratorID);
43 static std::string
getTypeID(
const std::string& calibratorID);
44 static double getBegin(
const std::string& calibratorID);
45 static double getEnd(
const std::string& calibratorID);
46 static std::string
getRouteID(
const std::string& calibratorID);
48 static std::vector<std::string>
getVTypes(
const std::string& routeID);
49 static int getPassed(
const std::string& calibratorID);
50 static int getInserted(
const std::string& calibratorID);
51 static int getRemoved(
const std::string& calibratorID);
56 static void setFlow(
const std::string& calibratorID,
double begin,
double end,
double vehsPerHour,
double speed,
const std::string& typeID,
57 const std::string& routeID,
58 const std::string& departLane =
"first",
59 const std::string& departSpeed =
"max");
63 static std::shared_ptr<VariableWrapper>
makeWrapper();
#define LIBSUMO_ID_PARAMETER_API
#define LIBSUMO_SUBSCRIPTION_API
static int getPassed(const std::string &calibratorID)
static MSCalibrator * getCalibrator(const std::string &id)
Calibrator()=delete
invalidated standard constructor
static double getSpeed(const std::string &calibratorID)
static int getRemoved(const std::string &calibratorID)
static MSCalibrator::AspiredState getCalibratorState(const MSCalibrator *c)
static std::string getRouteID(const std::string &calibratorID)
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
static double getEnd(const std::string &calibratorID)
static std::string getEdgeID(const std::string &calibratorID)
static double getVehsPerHour(const std::string &calibratorID)
static std::vector< std::string > getVTypes(const std::string &routeID)
static std::string getRouteProbeID(const std::string &calibratorID)
static SubscriptionResults mySubscriptionResults
static std::string getTypeID(const std::string &calibratorID)
static double getBegin(const std::string &calibratorID)
static std::string getLaneID(const std::string &calibratorID)
static std::shared_ptr< VariableWrapper > makeWrapper()
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API void setFlow(const std::string &calibratorID, double begin, double end, double vehsPerHour, double speed, const std::string &typeID, const std::string &routeID, const std::string &departLane="first", const std::string &departSpeed="max")
static ContextSubscriptionResults myContextSubscriptionResults
static int getInserted(const std::string &calibratorID)
Calibrates the flow on a segment to a specified one.
std::map< std::string, libsumo::SubscriptionResults > ContextSubscriptionResults
std::map< std::string, libsumo::TraCIResults > SubscriptionResults
{object->{variable->value}}