PyANGKernel.GKScenario¶
- class GKScenario¶
Aimsun Next Microscopic simulator Scenario data.
Details
Note that part of the information is on a separated class (
GKScenarioInputData)Synopsis¶
Methods¶
def
__init__()def
getInputData()def
sameDay()def
setInputData()
Static functions¶
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
- static addTrafficDemandExtension(iname, aname, type)¶
- Parameters:
iname – str
aname – str
type –
GKType
It will add a Traffic Demand extension with internal name ‘iname’, external name ‘aname’ and objects’ type ‘type’
- getDemandVehicles()¶
- Return type:
.list of GKMobileAgent
It returns vehicles used in demand in the scenario. No include Peds!
- getInputData()¶
- Return type:
Extra data in this scenario
helper function: list all the available traffic arrivals items, either from the project or from the subnetwork
- getTransitPlanVehicles()¶
- Return type:
.list of GKMobileAgent
It returns vehicles used in Transit Plan in the scenario
- getUsedVehicles()¶
- Return type:
.list of GKMobileAgent
It returns all vehicles used in all traffic demand objects in the scenario. No include Peds!
Returns true if the complete scenario sim times happens in the same day
- setInputData(aInputData)¶
- Parameters:
aInputData –
GKScenarioInputData
Extra data in this scenario