Transit wheelchair space bookings calculator

Calculate booking assignments and booking conflicts with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use booking assignments and booking conflicts to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Allowed zero-based vehicle-trip indices per booking; enter JSON
[[0],[0,1],[1]]
Wheelchair spaces on each vehicle-trip (counts)
1,1
Booking assignments (JSON)
[1,2,null]
Booking conflicts (count)
1

Try another scenario

Allowed zero-based vehicle-trip indices per booking; enter JSON
[[0],[0],[0,1],[1]]
Wheelchair spaces on each vehicle-trip (counts)
2,1
Booking assignments (JSON)
[1,1,2,null]
Booking conflicts (count)
1
Calculation method

Calculation method

Booking assignments (JSON)

Maximum-cardinality matching to expanded vehicle-trip capacity slots; output one-based trip index or null.

Booking conflicts (count)

Number of unmatched requests.

Symbols and units
a
Allowed zero-based vehicle-trip indices per booking; enter JSON
b
Wheelchair spaces on each vehicle-trip (counts)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Fixed trip-specific wheelchair-space requests with user-supplied compatibility. Each request consumes one space on one trip. Supported limits: All numeric inputs and computed intermediates must remain finite. Supported numeric input magnitude is zero or 1e-12 through 1e12 in absolute value; reject values outside this bounded range. All lists/JSON record tables are limited to 100 records unless a stricter bound is stated; reject malformed record arity and wrong member types. At most 50 requests and 20 vehicle-trips; allowed indices exist; capacities integer >=0. User must encode all time and accommodation compatibility in allowed indices.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.