PathClass

class passengersim.core.PathClass

Bases: object

PathClass objects

Methods

__init__(*args, **kwargs)

add_fare

Add a Fare to the PathClass

current_tf_adjusted_fare_price

current_tf_raw_adjusted_fare_price

get_index

Get the VN index for this PathClass, (leg_number)

initialize_q_forecast

Initialize the Q-Forecast for this PathClass

set_index

Set the VN index for this PathClass, (leg_number, vn_index

Attributes

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

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.

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

num_objects

Number of objects allocated, was used for memory leak detection

path_id

Unique integer ID for the Path.

q_forecast

raw_adjusted_marginal_revenue

revenue_alpha

sold

Number sold, is reset after each sample

sold_priceable

Number sold priceable, is reset after each sample.

y_forecast

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