-
Notifications
You must be signed in to change notification settings - Fork 26
I 24 Add rules for minimum number of passengers (Offline Only)
Andreas Schlapbach edited this page Jan 8, 2021
·
2 revisions
The passenger constraint allows to define restrictions on the maximum number of passengers of a given type to be combined (e.g. to limit the number of free children). This should be extended with the option to define a minimum number rule e.g. to define rules like "min. 1 Adult per Child"
- Sören Meyer (DB)
Rules on passenger combinations can be defined also for minimal required combinations in a generic way.
The PassengerConstraint in the Offline Json is extended by a minNumber alternatively to the existing maxNumber
see branch I24_minimum_passenger_rule
Merged: https://github.com/UnionInternationalCheminsdeFer/OSDM/pull/143
OSDM Wiki