Files

25 lines
1.1 KiB
Plaintext

400 users, each asking for 1 to 3 random seats of a 60-seat show (seeded plan), all released at once
====================================================================================================
seats requested in total (seeded, identical for every inventory): 800
PessimisticInventory, SORTED:
no seat granted to two requests: true
every granted request owns all of its seats: true
HELD seats == seats of granted requests: true
AVAILABLE + HELD == 60: true
OptimisticInventory, SORTED:
no seat granted to two requests: true
every granted request owns all of its seats: true
HELD seats == seats of granted requests: true
AVAILABLE + HELD == 60: true
OptimisticInventory, AS_REQUESTED:
no seat granted to two requests: true
every granted request owns all of its seats: true
HELD seats == seats of granted requests: true
AVAILABLE + HELD == 60: true
How many requests were granted differs from run to run (it depends on the interleaving) and is deliberately not printed.