uxsimpp.trafficppy.Vehicle

class uxsimpp.trafficppy.Vehicle(self: uxsimpp.trafficppy.Vehicle, world: uxsimpp.trafficppy.World, name: str, departure_time: float, orig_name: str, dest_name: str)

Bases: pybind11_object

Create a new Vehicle

__init__(self: uxsimpp.trafficppy.Vehicle, world: uxsimpp.trafficppy.World, name: str, departure_time: float, orig_name: str, dest_name: str) None

Create a new Vehicle

Methods

__init__(self, world, name, departure_time, ...)

Create a new Vehicle

Attributes

W

Reference to World

arrival_time

Final arrival time

arrival_time_link

Link arrival time

departure_time

Departure time

dest

Destination node

follower

Following vehicle

id

Vehicle ID

leader

Leading vehicle

link

Current link

links_preferred

Preferred links

log_link

Link log

log_state

State log

log_t

Time log

log_v

Velocity log

log_x

Position log

name

Vehicle name

orig

Origin node

route_adaptive

Adaptive routing flag

route_choice_flag_on_link

Route choice flag

route_next_link

Next link in route

route_preference

Route preference

state

Vehicle state

travel_time

Total travel time

v

Current velocity

x

Current position

x_next

Next position

property W

Reference to World

__init__(self: uxsimpp.trafficppy.Vehicle, world: uxsimpp.trafficppy.World, name: str, departure_time: float, orig_name: str, dest_name: str) None

Create a new Vehicle

property arrival_time

Final arrival time

Link arrival time

property departure_time

Departure time

property dest

Destination node

property follower

Following vehicle

property id

Vehicle ID

property leader

Leading vehicle

Current link

Preferred links

Link log

property log_state

State log

property log_t

Time log

property log_v

Velocity log

property log_x

Position log

property name

Vehicle name

property orig

Origin node

property route_adaptive

Adaptive routing flag

Route choice flag

Next link in route

property route_preference

Route preference

property state

Vehicle state

property travel_time

Total travel time

property v

Current velocity

property x

Current position

property x_next

Next position