#include <Distribution_MeanDev.h>

Definition at line 44 of file Distribution_MeanDev.h.
Public Member Functions | |
| Distribution_MeanDev (const std::string &id, SUMOReal mean, SUMOReal deviation) throw () | |
| Constructor. | |
| const std::string & | getID () const throw () |
| Returns the id. | |
| SUMOReal | getMax () const |
| Returns the maximum value of this distribution. | |
| virtual | ~Distribution_MeanDev () throw () |
| Destructor. | |
Protected Attributes | |
| std::string | myID |
| The name of the object. | |
Private Attributes | |
| SUMOReal | myDeviation |
| The distribution's standard deviation. | |
| SUMOReal | myMeanValue |
| The distribution's mean. | |
| Distribution_MeanDev::Distribution_MeanDev | ( | const std::string & | id, | |
| SUMOReal | mean, | |||
| SUMOReal | deviation | |||
| ) | throw () |
Constructor.
Definition at line 41 of file Distribution_MeanDev.cpp.
00043 : Distribution(id), myMeanValue(mean), myDeviation(deviation) {}
| Distribution_MeanDev::~Distribution_MeanDev | ( | ) | throw () [virtual] |
| const std::string& Named::getID | ( | ) | const throw () [inline, inherited] |
Returns the id.
Definition at line 59 of file Named.h.
References Named::myID.
Referenced by RORouteDef_Alternatives::addAlternative(), MSRouteProbe::addRoute(), MSEmitter::MSEmitter_FileTriggeredChild::buildAndScheduleFlowVehicle(), MSCalibrator::MSCalibrator_FileTriggeredChild::buildAndScheduleFlowVehicle(), RORouteDef_Complete::buildCurrentRoute(), ODDistrictHandler::closeDistrict(), NBTrafficLightDefinition::collectLinks(), NBTrafficLightDefinition::compute(), GUIPointOfInterest::drawGL(), MSInductLoop::enterDetectorByMove(), MSVTypeProbe::execute(), MSNet::getBusStopID(), GUITriggeredRerouter::getMicrosimID(), GUIPointOfInterest::getMicrosimID(), GUILaneSpeedTrigger::getMicrosimID(), GUIInductLoop::MyWrapper::getMicrosimID(), GUIEmitter::getMicrosimID(), GUIBusStop::getMicrosimID(), GUI_E2_ZS_Collector::MyWrapper::getMicrosimID(), traci::TraCIServer::handlePoiDomain(), RORDLoader_SUMOBase::myCharacters(), NBOwnTLDef::myCompute(), NBLoadedTLDef::myCompute(), MSTriggeredRerouter::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSEmitter::MSEmitter_FileTriggeredChild::myStartElement(), MSCalibrator::MSCalibrator_FileTriggeredChild::myStartElement(), NBLoadedTLDef::SignalGroup::patchTYellow(), TraCIServerAPI_Vehicle::processGet(), MSVehicle::replaceRoute(), MSVehicle::saveState(), NBOwnTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), RORDLoader_SUMOBase::startRoute(), GUIEmitter::GUIEmitterChild_UserTriggeredChild::wrappedExecute(), NBTrafficLightLogic::writeXML(), MSRouteProbe::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSE2Collector::writeXMLOutput(), and MSVehicle::~MSVehicle().
00059 { 00060 return myID; 00061 }
| SUMOReal Distribution_MeanDev::getMax | ( | ) | const [virtual] |
Returns the maximum value of this distribution.
Implements Distribution.
Definition at line 50 of file Distribution_MeanDev.cpp.
References myDeviation, and myMeanValue.
00050 { 00051 return myMeanValue + myDeviation; 00052 }
SUMOReal Distribution_MeanDev::myDeviation [private] |
The distribution's standard deviation.
Definition at line 62 of file Distribution_MeanDev.h.
Referenced by getMax().
std::string Named::myID [protected, inherited] |
The name of the object.
Definition at line 66 of file Named.h.
Referenced by RORouteDef_OrigDest::buildCurrentRoute(), RORouteDef_Complete::buildCurrentRoute(), RORouteDef_Alternatives::buildCurrentRoute(), and Named::getID().
SUMOReal Distribution_MeanDev::myMeanValue [private] |
The distribution's mean.
Definition at line 59 of file Distribution_MeanDev.h.
Referenced by getMax().
1.5.6