Path Class
adjusted_fare_price
instance-attribute
Adjusted fare by DCP.
This will be an empty tuple if fare adjustment is not being computed.
forecast
instance-attribute
Forecast of total demand.
If hybrid forecasting is in use, this forecast includes both priceable and yieldable demand.
q_forecast
instance-attribute
Forecast of the class allocation of Q-equivalent priceable demand.
The forecasting for Q-equivalent priceable demand is handled at the Path level, and this attribute is used to store the allocated portion of that forecast for this pathclass.
y_forecast
instance-attribute
Forecast of yieldable demand.
If hybrid forecasting is not in use, this will be the same as forecast
.
add_fare
add_fare(fare: Fare)
Add a Fare to the PathClass
This method is deprecated, use the fare
attribute instead.