Enumerations
Script exposing enumeration types and values to add a type/value-safe layer for correctness.
CurrencyKind
Bases: LowerStringEnumValues
All recognized currencies
Source code in src/rmlab/_data/enums.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
CustomersModelKind
Bases: LowerStringEnumValues
All possible enumerations for types of customers models
Source code in src/rmlab/_data/enums.py
50 51 52 53 54 |
|
DayOfWeek
Bases: Enum
Days of week enumeration
Source code in src/rmlab/_data/enums.py
65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
|
FileExtensions
Bases: LowerStringEnumValues
All possible extensions of uploadable files
Source code in src/rmlab/_data/enums.py
13 14 15 16 17 |
|
FlightDataKind
Bases: LowerStringEnumValues
All possible enumerations for types of flight data
Source code in src/rmlab/_data/enums.py
103 104 105 106 107 108 109 110 111 112 |
|
FlightEvent
Bases: LowerStringEnumValues
All possible enumerations for flight events in time.
FLIGHT_LOADED: When the flight is put on sale. Single event. FLIGHT_DEPARTED: When the flight is expected to depart. Single event. FLIGHT_SOLD_OUT: When the last seats are booked. Single event. SCHEDULED_OPT_PASS: When an optimization pass is scheduled. Multiple events. DONE_OPT_PASS: When an optimization pass has been completed. Multiple events. LOADED_INITIAL_THRESHOLDS: When pricing thresholds are first loaded. Single event. OPT_PASS_DYNAMIC_TO_EXPECTED: When the dynamic booking curve is promoted to the expected booking curve after an optimization pass. Multiple events. OPT_PASS_EDIT_THRESHOLDS: When the pricing thresholds are modified after an optimization pass. Multiple events. OPERATOR_DYNAMIC_TO_EXPECTED: When an operator promotes a dynamic booking curve to an expected booking curve. Multiple events. OPERATOR_EDIT_THRESHOLDS: When an operator modifies pricing thresholds. Multiple events.
Source code in src/rmlab/_data/enums.py
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
|
OptimizationAggregatorKind
Bases: LowerStringEnumValues
All implemented ways to aggregate historic data.
Source code in src/rmlab/_data/enums.py
176 177 178 179 180 |
|
OptimizationEffectsKind
Bases: LowerStringEnumValues
All implemented post-optimization effects.
NONE: Optimization pass generates a new Dynamic Booking Curve without further actions. PROMOTE_DYNAMIC_BC: Newly generated Dynamic Booking Curve overwrites previous Expected Booking Curve. PROMOTE_DYNAMIC_BC_THRESHOLDS: Same as PROMOTE_DYNAMIC_BC, plus pricing thresholds (possibly seat limits and prices) are modified according to the new Expected Booking Curve.
Source code in src/rmlab/_data/enums.py
189 190 191 192 193 194 195 196 197 198 199 |
|
OptimizationForecasterKind
Bases: LowerStringEnumValues
All implemented forecaster kinds.
Source code in src/rmlab/_data/enums.py
169 170 171 172 173 |
|
OptimizationMaximizerKind
Bases: LowerStringEnumValues
All implemented revenue maximization algorithms.
Source code in src/rmlab/_data/enums.py
183 184 185 186 |
|
OptimizationSelectorFilterKind
Bases: LowerStringEnumValues
All possible enumerations for optimization selector kinds.
Source code in src/rmlab/_data/enums.py
142 143 144 145 146 147 148 149 150 |
|
ParametricFilterClassKind
Bases: LowerStringEnumValues
All implemented filter class kinds.
Source code in src/rmlab/_data/enums.py
202 203 204 205 206 207 208 209 210 211 212 |
|
ParametricModelKind
Bases: LowerStringEnumValues
All possible enumerations for types of parametric models
Source code in src/rmlab/_data/enums.py
43 44 45 46 47 |
|
PricingModelKind
Bases: LowerStringEnumValues
All possible enumerations for types of pricing models
Source code in src/rmlab/_data/enums.py
57 58 59 60 61 62 |
|
ScenarioDayStatus
Bases: LowerStringEnumValues
All possible enumerations of daily status
Source code in src/rmlab/_data/enums.py
81 82 83 84 85 86 87 88 89 90 91 |
|
ScenarioState
Bases: LowerStringEnumValues
All possible enumerations of scenario states
Source code in src/rmlab/_data/enums.py
94 95 96 97 98 99 100 |
|
TimeUnit
Bases: Enum
Enumerations for time units in optimization selector.
Source code in src/rmlab/_data/enums.py
153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
|