Determines financial loss from flight cancellations based on fare class, airline policy, and ticket type.