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
Direct call to CorePathClass::next_departure(), used for unit testing
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
How to determine decision price when using matrix procing or CP.
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
Input price to optimization
Vector of optimization price by DCP index
Unique integer ID for the Path.
Vector of revenue by DCP index
Number sold, is reset after each sample
Vector of sold price by DCP index
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¶
- decision_price_rule¶
How to determine decision price when using matrix procing or CP. ‘weighted’ or ‘lowest’
- 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_fcst_revenue()¶
- 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
- next_departure()¶
Direct call to CorePathClass::next_departure(), used for unit testing
- num_objects¶
Number of objects allocated, was used for memory leak detection
- optimization_price¶
Input price to optimization
- optimization_price_vector¶
Vector of optimization price by DCP index
- 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¶
- revenue_by_dcp¶
Vector of revenue by DCP index
- set_index()¶
Set the VN index for this PathClass, (leg_number, vn_index
- sold¶
Number sold, is reset after each sample
- sold_by_dcp¶
Vector of sold price by DCP index
- sold_priceable¶
Number sold priceable, is reset after each sample. Priceable means that the lowest priced Offer was chosen
- y_forecast¶