uxsimpp.Node

class uxsimpp.Node(self: uxsimpp.trafficppy.Node, world: uxsimpp.trafficppy.World, node_name: str, x: float, y: float)

Bases: pybind11_object

Create 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

W

Reference to World

generation_queue

Vehicle generation queue

id

Node ID

in_links

Incoming links

incoming_vehicles

Vehicles arriving at node

name

Node name

out_links

Outgoing links

signal_intervals

Signal intervals

signal_offset

Signal offset

signal_phase

Current signal phase

signal_t

Signal time

x

X coordinate

y

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

Incoming links

property incoming_vehicles

Vehicles arriving at node

property name

Node name

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