![]() |
SUMO - Simulation of Urban MObility
|
#include <NLBuilder.h>
Public Member Functions | |
void | addEdgeWeight (const std::string &id, double val, double beg, double end) const |
Adds an effort for a given edge and time period. More... | |
EdgeFloatTimeLineRetriever_EdgeEffort (MSNet &net) | |
Constructor. More... | |
~EdgeFloatTimeLineRetriever_EdgeEffort () | |
Destructor. More... | |
Private Attributes | |
MSNet & | myNet |
The network edges shall be obtained from. More... | |
Definition at line 143 of file NLBuilder.h.
|
inline |
Constructor.
Definition at line 146 of file NLBuilder.h.
|
inline |
|
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 effort |
[in] | beg | The begin of the interval the weight is valid for |
[in] | end | The end of the interval the weight is valid for |
Implements SAXWeightsHandler::EdgeFloatTimeLineRetriever.
Definition at line 73 of file NLBuilder.cpp.
References MSEdgeWeightsStorage::addEffort(), MSEdge::dictionary(), MSNet::getWeightsStorage(), myNet, and WRITE_ERROR.
Referenced by ~EdgeFloatTimeLineRetriever_EdgeEffort(), and NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime::~EdgeFloatTimeLineRetriever_EdgeTravelTime().
|
private |
The network edges shall be obtained from.
Definition at line 164 of file NLBuilder.h.
Referenced by addEdgeWeight(), and NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight().