![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Obtains edge weights from a weights handler and stores them within the edges. More...
#include <ROLoader.h>
Public Member Functions | |
| virtual void | addEdgeRelWeight (const std::string &from, const std::string &to, double val, double beg, double end) const |
| void | addEdgeWeight (const std::string &id, double val, double beg, double end) const |
| Adds an effort for a given edge and time period. | |
| virtual void | addTazRelWeight (const std::string intervalID, const std::string &from, const std::string &to, double val, double beg, double end) |
| EdgeFloatTimeLineRetriever_EdgeWeight (RONet &net) | |
| Constructor. | |
| ~EdgeFloatTimeLineRetriever_EdgeWeight () | |
| Destructor. | |
Private Attributes | |
| RONet & | myNet |
| The network edges shall be obtained from. | |
Obtains edge weights from a weights handler and stores them within the edges.
Definition at line 114 of file ROLoader.h.
|
inline |
|
inline |
Destructor.
Definition at line 120 of file ROLoader.h.
|
inlinevirtualinherited |
Reimplemented in GUINet::EdgeFloatTimeLineRetriever_GUI.
Definition at line 87 of file SAXWeightsHandler.h.
References UNUSED_PARAMETER.
|
virtual |
Adds an effort for a given edge and time period.
| [in] | id | The id of the object to add a weight for |
| [in] | val | The weight |
| [in] | beg | The begin of the interval the weight is valid for |
| [in] | end | The end of the interval the weight is valid for |
Reimplemented from SAXWeightsHandler::EdgeFloatTimeLineRetriever.
Definition at line 75 of file ROLoader.cpp.
References ROEdge::addEffort(), OptionsCont::getOptions(), myNet, TL, WRITE_ERRORF, and WRITE_WARNINGF.
|
inlinevirtualinherited |
Reimplemented in ODMatrix.
Definition at line 97 of file SAXWeightsHandler.h.
References UNUSED_PARAMETER.
|
private |
The network edges shall be obtained from.
Definition at line 135 of file ROLoader.h.
Referenced by addEdgeWeight(), and EdgeFloatTimeLineRetriever_EdgeWeight().