Aimsun Next Scripting
22
|
Public Member Functions | |
GKControlDelayMetering () | |
void | setDelayTimes (float mean, float deviation, GKVehicle *vehType=NULL) |
float | getMean (GKVehicle *vehType=NULL) const |
float | getDeviation (GKVehicle *vehType=NULL) const |
const QMap< GKVehicle *, QPair< float, float > > & | getDelayTimes () const |
![]() | |
if (base) | |
Py_END_ALLOW_THREADS End | GKControlMetering () |
void | setMetering (GKMetering *) |
GKMetering * | getMetering () const |
qint32 | getMeteringId () const |
void | setControlMeteringType (const GKControlMeteringType) |
const GKControlMeteringType | getControlMeteringType () const |
Additional Inherited Members | |
![]() | |
enum | GKControlMeteringType { eUnspecified = 0 , eUncontrolled = 1 , eFixedControl = 2 , eExternal = 3 } |
![]() | |
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKControlMetering * | base = (GKControlMetering*)sipCpp |
sipType = 0 | |
Settings used in a control plan for a delay metering. a delay metering is used to model vehicles stopping due to some control facility, such as a toll or customs barrier. The delay time experienced by each vehicle that will go through the metering is set using a normal distribution with a mean and a deviation.
GKControlDelayMetering::GKControlDelayMetering | ( | ) |
const QMap< GKVehicle *, QPair< float, float > > & GKControlDelayMetering::getDelayTimes | ( | ) | const |
Gets the mean delay time and standard deviation for the vehTypes defined different than the default (vehType == None).
float GKControlDelayMetering::getDeviation | ( | GKVehicle * | vehType = NULL | ) | const |
Gets the standard deviation defined for the specified vehicle type.
float GKControlDelayMetering::getMean | ( | GKVehicle * | vehType = NULL | ) | const |
Gets the mean delay time for the specified vehtype.
void GKControlDelayMetering::setDelayTimes | ( | float | mean, |
float | deviation, | ||
GKVehicle * | vehType = NULL |
||
) |
Sets the mean delay time and standard deviation for the specified vehtype.