uxsimpp.Node¶
- class uxsimpp.Node(self: uxsimpp.trafficppy.Node, world: uxsimpp.trafficppy.World, node_name: str, x: float, y: float)¶
Bases:
pybind11_objectCreate a new Node
- __init__(self: uxsimpp.trafficppy.Node, world: uxsimpp.trafficppy.World, node_name: str, x: float, y: float) None¶
Create a new Node
Methods
__init__(self, world, node_name, x, y)Create a new Node
generate(self)Generate vehicles
transfer(self)Transfer vehicles
Attributes
Reference to World
Vehicle generation queue
Node ID
Incoming links
Vehicles arriving at node
Node name
Outgoing links
Signal intervals
Signal offset
Current signal phase
Signal time
X coordinate
Y coordinate
- property W¶
Reference to World
- __init__(self: uxsimpp.trafficppy.Node, world: uxsimpp.trafficppy.World, node_name: str, x: float, y: float) None¶
Create a new Node
- generate(self: uxsimpp.trafficppy.Node) None¶
Generate vehicles
- property generation_queue¶
Vehicle generation queue
- property id¶
Node ID
- property in_links¶
Incoming links
- property incoming_vehicles¶
Vehicles arriving at node
- property name¶
Node name
- property out_links¶
Outgoing links
- property signal_intervals¶
Signal intervals
- property signal_offset¶
Signal offset
- property signal_phase¶
Current signal phase
- property signal_t¶
Signal time
- transfer(self: uxsimpp.trafficppy.Node) None¶
Transfer vehicles
- property x¶
X coordinate
- property y¶
Y coordinate