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

Public Member Functions

 ControlPlanGenerator ()
 
void setControlPlan (GKControlPlan *_controlPlan)
 
void setMinGreenTime (int _minGreenTime)
 
void setMaxCycleTime (int _maxCycleTime)
 
void setMinCycleTime (int _minCycleTime)
 
void setYellowTime (int _yellowTime)
 
void setRedTimePercentage (int _redTimePercentage)
 
void setExcludeNonConflictNodes (bool _excludeNonConflictNodes)
 
void setActuatedControl (bool iActuated)
 
void setCapacityPerLane (double iCapacity)
 
GKControlJunctiongenerateControlJunction (GKNode *_node, QMap< GKTurning *, double > _nodeVolumes, const QString &sourceName)
 

Detailed Description

This class provides the Control Plan Generator

Constructor & Destructor Documentation

◆ ControlPlanGenerator()

ControlPlanGenerator::ControlPlanGenerator ( )

ControlPlanGenerator constructor.

Member Function Documentation

◆ generateControlJunction()

GKControlJunction * ControlPlanGenerator::generateControlJunction ( GKNode _node,
QMap< GKTurning *, double >  _nodeVolumes,
const QString &  sourceName 
)

generator the control junction for a specified node, with specified turn volumes, and specified source name

◆ setActuatedControl()

void ControlPlanGenerator::setActuatedControl ( bool  iActuated)

Set to generate actuated control or not

◆ setCapacityPerLane()

void ControlPlanGenerator::setCapacityPerLane ( double  iCapacity)

Set the capacity per turn lane

◆ setControlPlan()

void ControlPlanGenerator::setControlPlan ( GKControlPlan _controlPlan)

Set the control plan to be used

◆ setExcludeNonConflictNodes()

void ControlPlanGenerator::setExcludeNonConflictNodes ( bool  _excludeNonConflictNodes)

Set to exclude nodes that do not have conflicts

◆ setMaxCycleTime()

void ControlPlanGenerator::setMaxCycleTime ( int  _maxCycleTime)

Set the maximum cycle time

◆ setMinCycleTime()

void ControlPlanGenerator::setMinCycleTime ( int  _minCycleTime)

Set the minumal cycle time

◆ setMinGreenTime()

void ControlPlanGenerator::setMinGreenTime ( int  _minGreenTime)

Set the minimal green time

◆ setRedTimePercentage()

void ControlPlanGenerator::setRedTimePercentage ( int  _redTimePercentage)

Set the red time percentage

◆ setYellowTime()

void ControlPlanGenerator::setYellowTime ( int  _yellowTime)

Set the yellow time, from green to red state

© Aimsun SLU
Aimsun ®