Eclipse SUMO - Simulation of Urban MObility
NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort Class Reference

#include <NLBuilder.h>

Inheritance diagram for NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort:
[legend]
Collaboration diagram for NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort:
[legend]

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. More...
 
virtual void addTazRelWeight (const std::string intervalID, const std::string &from, const std::string &to, double val, double beg, double end)
 
 EdgeFloatTimeLineRetriever_EdgeEffort (MSNet &net)
 Constructor. More...
 
 ~EdgeFloatTimeLineRetriever_EdgeEffort ()
 Destructor. More...
 

Private Attributes

MSNetmyNet
 The network edges shall be obtained from. More...
 

Detailed Description

Definition at line 141 of file NLBuilder.h.

Constructor & Destructor Documentation

◆ EdgeFloatTimeLineRetriever_EdgeEffort()

NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::EdgeFloatTimeLineRetriever_EdgeEffort ( MSNet net)
inline

Constructor.

Definition at line 144 of file NLBuilder.h.

◆ ~EdgeFloatTimeLineRetriever_EdgeEffort()

NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::~EdgeFloatTimeLineRetriever_EdgeEffort ( )
inline

Destructor.

Definition at line 147 of file NLBuilder.h.

Member Function Documentation

◆ addEdgeRelWeight()

virtual void SAXWeightsHandler::EdgeFloatTimeLineRetriever::addEdgeRelWeight ( const std::string &  from,
const std::string &  to,
double  val,
double  beg,
double  end 
) const
inlinevirtualinherited

Reimplemented in GUINet::EdgeFloatTimeLineRetriever_GUI.

Definition at line 87 of file SAXWeightsHandler.h.

References UNUSED_PARAMETER.

◆ addEdgeWeight()

void NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::addEdgeWeight ( const std::string &  id,
double  val,
double  beg,
double  end 
) const
virtual

Adds an effort for a given edge and time period.

Parameters
[in]idThe id of the object to add a weight for
[in]valThe effort
[in]begThe begin of the interval the weight is valid for
[in]endThe end of the interval the weight is valid for
See also
SAXWeightsHandler::EdgeFloatTimeLineRetriever::addEdgeWeight

Reimplemented from SAXWeightsHandler::EdgeFloatTimeLineRetriever.

Definition at line 80 of file NLBuilder.cpp.

References MSEdgeWeightsStorage::addEffort(), MSEdge::dictionary(), MSNet::getWeightsStorage(), myNet, TL, and WRITE_ERRORF.

◆ addTazRelWeight()

virtual void SAXWeightsHandler::EdgeFloatTimeLineRetriever::addTazRelWeight ( const std::string  intervalID,
const std::string &  from,
const std::string &  to,
double  val,
double  beg,
double  end 
)
inlinevirtualinherited
Note
: note sure why the other functions are const

Reimplemented in ODMatrix.

Definition at line 97 of file SAXWeightsHandler.h.

References UNUSED_PARAMETER.

Field Documentation

◆ myNet

MSNet& NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::myNet
private

The network edges shall be obtained from.

Definition at line 162 of file NLBuilder.h.

Referenced by addEdgeWeight().


The documentation for this class was generated from the following files: