Aimsun Next Scripting  22
Public Member Functions | List of all members
GKControlDelayMetering Class Reference
Inheritance diagram for GKControlDelayMetering:
GKControlMetering

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
 
- Public Member Functions inherited from GKControlMetering
 if (base)
 
Py_END_ALLOW_THREADS End GKControlMetering ()
 
void setMetering (GKMetering *)
 
GKMeteringgetMetering () const
 
qint32 getMeteringId () const
 
void setControlMeteringType (const GKControlMeteringType)
 
const GKControlMeteringType getControlMeteringType () const
 

Additional Inherited Members

- Public Types inherited from GKControlMetering
enum  GKControlMeteringType { eUnspecified = 0 , eUncontrolled = 1 , eFixedControl = 2 , eExternal = 3 }
 
- Public Attributes inherited from GKControlMetering
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKControlMeteringbase = (GKControlMetering*)sipCpp
 
 sipType = 0
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ GKControlDelayMetering()

GKControlDelayMetering::GKControlDelayMetering ( )

Member Function Documentation

◆ getDelayTimes()

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).

◆ getDeviation()

float GKControlDelayMetering::getDeviation ( GKVehicle vehType = NULL) const

Gets the standard deviation defined for the specified vehicle type.

◆ getMean()

float GKControlDelayMetering::getMean ( GKVehicle vehType = NULL) const

Gets the mean delay time for the specified vehtype.

◆ setDelayTimes()

void GKControlDelayMetering::setDelayTimes ( float  mean,
float  deviation,
GKVehicle vehType = NULL 
)

Sets the mean delay time and standard deviation for the specified vehtype.

© Aimsun SLU
Aimsun ®