Aimsun Next Scripting
22
|
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) |
GKControlJunction * | generateControlJunction (GKNode *_node, QMap< GKTurning *, double > _nodeVolumes, const QString &sourceName) |
This class provides the Control Plan Generator
ControlPlanGenerator::ControlPlanGenerator | ( | ) |
ControlPlanGenerator constructor.
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
void ControlPlanGenerator::setActuatedControl | ( | bool | iActuated | ) |
Set to generate actuated control or not
void ControlPlanGenerator::setCapacityPerLane | ( | double | iCapacity | ) |
Set the capacity per turn lane
void ControlPlanGenerator::setControlPlan | ( | GKControlPlan * | _controlPlan | ) |
Set the control plan to be used
void ControlPlanGenerator::setExcludeNonConflictNodes | ( | bool | _excludeNonConflictNodes | ) |
Set to exclude nodes that do not have conflicts
void ControlPlanGenerator::setMaxCycleTime | ( | int | _maxCycleTime | ) |
Set the maximum cycle time
void ControlPlanGenerator::setMinCycleTime | ( | int | _minCycleTime | ) |
Set the minumal cycle time
void ControlPlanGenerator::setMinGreenTime | ( | int | _minGreenTime | ) |
Set the minimal green time
void ControlPlanGenerator::setRedTimePercentage | ( | int | _redTimePercentage | ) |
Set the red time percentage
void ControlPlanGenerator::setYellowTime | ( | int | _yellowTime | ) |
Set the yellow time, from green to red state