 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef RODFDetectorFlow_h
20 #define RODFDetectorFlow_h
75 void removeFlow(
const std::string& detector_id);
76 void setFlows(
const std::string& detector_id, std::vector<FlowDef>&);
78 const std::vector<FlowDef>&
getFlowDefs(
const std::string&
id)
const;
79 bool knows(
const std::string& det_id)
const;
84 void mesoJoin(
const std::string& nid,
const std::vector<std::string>& oldids);
RODFDetectorFlows & operator=(const RODFDetectorFlows &src)
Invalidated assignment operator.
std::map< std::string, std::vector< FlowDef > > myFastAccessFlows
RODFDetectorFlows(SUMOTime startTime, SUMOTime endTime, SUMOTime stepOffset)
double getFlowSumSecure(const std::string &id) const
void printAbsolute() const
void removeFlow(const std::string &detector_id)
double getMaxDetectorFlow() const
bool knows(const std::string &det_id) const
void setFlows(const std::string &detector_id, std::vector< FlowDef > &)
Definition of the traffic during a certain time containing the flows and speeds.
const std::vector< FlowDef > & getFlowDefs(const std::string &id) const
void addFlow(const std::string &detector_id, SUMOTime timestamp, const FlowDef &fd)
void mesoJoin(const std::string &nid, const std::vector< std::string > &oldids)