SUMO - Simulation of Urban MObility
|
#include <NLBuilder.h>
Public Member Functions | |
void | addEdgeWeight (const std::string &id, SUMOReal val, SUMOReal beg, SUMOReal end) const |
Adds an effort for a given edge and time period. | |
EdgeFloatTimeLineRetriever_EdgeEffort (MSNet &net) | |
Constructor. | |
~EdgeFloatTimeLineRetriever_EdgeEffort () | |
Destructor. |
Private Attributes | |
MSNet & | myNet |
The network edges shall be obtained from. |
Definition at line 144 of file NLBuilder.h.
|
inline |
Constructor.
Definition at line 147 of file NLBuilder.h.
|
inline |
Destructor.
Definition at line 150 of file NLBuilder.h.
|
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 78 of file NLBuilder.cpp.
References MSEdgeWeightsStorage::addEffort(), MSEdge::dictionary(), MSNet::getWeightsStorage(), myNet, and WRITE_ERROR.
|
private |
The network edges shall be obtained from.
Definition at line 165 of file NLBuilder.h.
Referenced by addEdgeWeight().