|
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. 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 145 of file NLBuilder.h.
|
inline |
Constructor.
Definition at line 148 of file NLBuilder.h.
|
inline |
Destructor.
Definition at line 151 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 166 of file NLBuilder.h.
Referenced by addEdgeWeight().