49 static double getEffort(
const std::string& edgeID,
double time);
74 static std::string
getBidiEdge(
const std::string& edgeID);
79 static void setAllowed(
const std::string& edgeID, std::string allowedClasses);
80 static void setAllowed(
const std::string& edgeID, std::vector<std::string> allowedClasses);
81 static void setDisallowed(
const std::string& edgeID, std::string disallowedClasses);
82 static void setDisallowed(
const std::string& edgeID, std::vector<std::string> disallowedClasses);
83 static void adaptTraveltime(
const std::string& edgeID,
double time,
double beginSeconds = 0.,
double endSeconds = std::numeric_limits<double>::max());
84 static void setEffort(
const std::string& edgeID,
double effort,
double beginSeconds = 0.,
double endSeconds = std::numeric_limits<double>::max());
85 static void setMaxSpeed(
const std::string& edgeID,
double speed);
86 static void setFriction(
const std::string& edgeID,
double friction);
96 static std::shared_ptr<VariableWrapper>
makeWrapper();
#define LIBSUMO_ID_PARAMETER_API
#define LIBSUMO_SUBSCRIPTION_API
static double getCO2Emission(const std::string &edgeID)
static void storeShape(const std::string &edgeID, PositionVector &shape)
Saves the shape of the requested object in the given container.
static double getLastStepLength(const std::string &edgeID)
static double getMeanFriction(const std::string &edgeID)
static double getCOEmission(const std::string &edgeID)
static std::shared_ptr< VariableWrapper > makeWrapper()
static const std::vector< std::string > getLastStepPersonIDs(const std::string &edgeID)
static void adaptTraveltime(const std::string &edgeID, double time, double beginSeconds=0., double endSeconds=std::numeric_limits< double >::max())
static void setDisallowed(const std::string &edgeID, std::string disallowedClasses)
static double getNOxEmission(const std::string &edgeID)
Edge()=delete
invalidated standard constructor
static double getFuelConsumption(const std::string &edgeID)
static int getLastStepHaltingNumber(const std::string &edgeID)
static void setFriction(const std::string &edgeID, double friction)
static void setEffort(const std::string &edgeID, double effort, double beginSeconds=0., double endSeconds=std::numeric_limits< double >::max())
static const std::vector< std::string > getPendingVehicles(const std::string &edgeID)
static ContextSubscriptionResults myContextSubscriptionResults
static double getPMxEmission(const std::string &edgeID)
static double getTraveltime(const std::string &edgeID)
static double getWaitingTime(const std::string &edgeID)
static const std::vector< std::string > getLastStepVehicleIDs(const std::string &edgeID)
static int getLaneNumber(const std::string &edgeID)
static double getHCEmission(const std::string &edgeID)
static std::string getFromJunction(const std::string &edgeID)
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
static MSEdge * getEdge(const std::string &edgeID)
static double getEffort(const std::string &edgeID, double time)
static double getLastStepOccupancy(const std::string &edgeID)
static void setAllowedSVCPermissions(const std::string &edgeID, long long int permissions)
static std::string getStreetName(const std::string &edgeID)
static std::string getBidiEdge(const std::string &edgeID)
static void setMaxSpeed(const std::string &edgeID, double speed)
static int getLastStepVehicleNumber(const std::string &edgeID)
static std::string getToJunction(const std::string &edgeID)
static double getElectricityConsumption(const std::string &edgeID)
static double getAdaptedTraveltime(const std::string &edgeID, double time)
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API void setAllowed(const std::string &edgeID, std::string allowedClasses)
static double getLastStepMeanSpeed(const std::string &edgeID)
static SubscriptionResults mySubscriptionResults
static double getAngle(const std::string &edgeID, double relativePosition=libsumo::INVALID_DOUBLE_VALUE)
static double getNoiseEmission(const std::string &edgeID)
A road/street connecting two junctions.
TRACI_CONST double INVALID_DOUBLE_VALUE