|
SUMO - Simulation of Urban MObility
|
#include <NLBuilder.h>
Public Member Functions | |
| void | addEdgeWeight (const std::string &id, SUMOReal val, SUMOReal beg, SUMOReal end) const throw () |
| Adds an effort for a given edge and time period. | |
| EdgeFloatTimeLineRetriever_EdgeEffort (MSNet &net) throw () | |
| Constructor. | |
| ~EdgeFloatTimeLineRetriever_EdgeEffort () throw () | |
| Destructor. | |
Private Attributes | |
| MSNet & | myNet |
| The network edges shall be obtained from. | |
Definition at line 142 of file NLBuilder.h.
| NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::EdgeFloatTimeLineRetriever_EdgeEffort | ( | MSNet & | net | ) | throw () [inline] |
Constructor.
Definition at line 145 of file NLBuilder.h.
| NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::~EdgeFloatTimeLineRetriever_EdgeEffort | ( | ) | throw () [inline] |
Destructor.
Definition at line 148 of file NLBuilder.h.
| void NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::addEdgeWeight | ( | const std::string & | id, |
| SUMOReal | val, | ||
| SUMOReal | beg, | ||
| SUMOReal | end | ||
| ) | const throw () [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 75 of file NLBuilder.cpp.
References MSEdge::dictionary(), and WRITE_ERROR.
The network edges shall be obtained from.
Definition at line 163 of file NLBuilder.h.