Eclipse SUMO - Simulation of Urban MObility
|
#include <MSSOTLPolicy.h>
Protected Member Functions | |
void | init (std::string prefix, const Parameterised *parameterised) |
bool | sigmoidLogic (SUMOTime elapsed, const MSPhaseDefinition *stage, int vehicleCount) |
Protected Attributes | |
double | m_k |
std::string | m_prefix |
bool | m_useSigmoid |
Definition at line 45 of file MSSOTLPolicy.h.
|
protected |
Definition at line 53 of file MSSOTLPolicy.cpp.
References Parameterised::getParameter(), m_k, m_prefix, m_useSigmoid, StringUtils::toDouble(), and WRITE_MESSAGE.
Referenced by MSSOTLPhasePolicy::init(), and MSSOTLPlatoonPolicy::init().
|
protected |
Definition at line 69 of file MSSOTLPolicy.cpp.
References MSPhaseDefinition::duration, m_k, m_prefix, m_useSigmoid, RandHelper::rand(), STEPS2TIME, and WRITE_MESSAGE.
Referenced by MSSOTLPhasePolicy::canRelease(), and MSSOTLPlatoonPolicy::canRelease().
|
protected |
Definition at line 52 of file MSSOTLPolicy.h.
Referenced by init(), and sigmoidLogic().
|
protected |
Definition at line 53 of file MSSOTLPolicy.h.
Referenced by init(), and sigmoidLogic().
|
protected |
Definition at line 51 of file MSSOTLPolicy.h.
Referenced by init(), and sigmoidLogic().