This function manages the backfill cohort queue by determining which previous cohorts are open or closed for backfill enrollment.
h_update_backfill_queue(backfill_cohorts, data, dose, backfill)Updated backfill_cohorts list.
(list)
current queue of backfill cohorts.
(Data)
current trial data.
(number)
current dose being evaluated.
(Backfill)
with opening rules and cohort size.