PathClass¶
- class passengersim.core.PathClass¶
Bases:
objectPathClass objects
Methods
__init__(*args, **kwargs)Add a Fare to the PathClass
Get the VN index for this PathClass, (leg_number)
Initialize the Q-Forecast for this PathClass
Set the VN index for this PathClass, (leg_number, vn_index
Attributes
Last forecast adjustment
Booking class for this PathClass, arbitrary string
Cabin Code for this PathClass, arbitrary string
Forecst mean until departure
Standard deviation until departure
Multiplier applied to all forecasts on this path-class.
Grand Total revenue, excluding the burn samples
Grand total revenue by passenger segment, excluding the burn samples
Grand Total sold, excluding the burn samples
Grand total sold by passenger segment, excluding the burn samples
Grand Total sold priceable, excluding the burn samples
Number of objects allocated, was used for memory leak detection
Unique integer ID for the Path.
Number sold, is reset after each sample
Number sold priceable, is reset after each sample.
- add_fare()¶
Add a Fare to the PathClass
- adjusted_at¶
Last forecast adjustment
- adjusted_marginal_revenue¶
- booking_class¶
Booking class for this PathClass, arbitrary string
- cabin_code¶
Cabin Code for this PathClass, arbitrary string
- current_tf_adjusted_fare_price()¶
- current_tf_raw_adjusted_fare_price()¶
- decision_fare¶
- fare¶
- fare_price¶
- fcst_mean¶
Forecst mean until departure
- fcst_std_dev¶
Standard deviation until departure
- forecast¶
- forecast_multiplier¶
Multiplier applied to all forecasts on this path-class.
- get_index()¶
Get the VN index for this PathClass, (leg_number)
- gt_revenue¶
Grand Total revenue, excluding the burn samples
- gt_revenue_by_segment¶
Grand total revenue by passenger segment, excluding the burn samples
- gt_sold¶
Grand Total sold, excluding the burn samples
- gt_sold_by_segment¶
Grand total sold by passenger segment, excluding the burn samples
- gt_sold_priceable¶
Grand Total sold priceable, excluding the burn samples
- history¶
- identifier¶
- initialize_q_forecast()¶
Initialize the Q-Forecast for this PathClass
- num_objects¶
Number of objects allocated, was used for memory leak detection
- path_id¶
Unique integer ID for the Path. Can be set by the user, or will be created by the connection generator
- q_forecast¶
- raw_adjusted_marginal_revenue¶
- revenue_alpha¶
- set_index()¶
Set the VN index for this PathClass, (leg_number, vn_index
- sold¶
Number sold, is reset after each sample
- sold_priceable¶
Number sold priceable, is reset after each sample. Priceable means that the lowest priced Offer was chosen
- y_forecast¶