planned_trips module

class jinete.models.planned_trips.PlannedTrip(vehicle, trip, pickup=None, delivery=None)[source]

Bases: jinete.models.abc.Model

__init__(vehicle, trip, pickup=None, delivery=None)[source]

The constructor of the class.

property capacity
delivery
property delivery_time
Return type

float

property destination
Return type

Position

property distance
Return type

float

property duration
Return type

float

property empty
Return type

bool

feasible
flush()[source]
Return type

None

property load_time
Return type

float

property origin
Return type

Position

pickup
property pickup_time
Return type

float

property timeout
Return type

float

property transit_time
Return type

float

trip
property trip_identifier
Return type

str

vehicle
property vehicle_identifier
Return type

str

property waiting_time
Return type

float