11.9's one-pass calendar on the item acts' times alone, over any record
(a sequence of timed action slots). The j-th item act (j ≥ 1) is the record's
slot k₀ + j - 1, so k₀ = 0 admits a record that opens with the pass; the first
falls at c + Δ for a number c and successive item acts are Δ apart. Summing
the cycles (Sol's calendarTime, calendar_constant) puts the j-th item act
at c + jΔ, so an accept at the K-th falls at c + KΔ and an end after the n-th
at c + nΔ, and over ranks 1,…,n the accept times average c + (n+1)Δ/2 (Sol's
uniform_calendar_mean). Which item each act reads (item j shown on a final
part of cycle j, a blank allowed before it) is a separate premise, used only
to name the accepted item.
One pass through m items on the record rec: the j-th item act (slot k₀ + j - 1, 1 ≤ j ≤ m) is an act; the first falls at c + Δ and successive ones are Δ apart.
Instances For
Item j is shown on a final part (t - Δ + ℓ, t] of cycle j, 0 ≤ ℓ < Δ, t the j-th item act's time.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Accepting at the K-th item: item acts 1,…,K-1 are the next act x and the K-th is the accept act a.
Equations
Instances For
Ending after the L-th item: item acts 1,…,L are the next act x.
Equations
Instances For
Summing the cycles: the j-th item act falls at calendarTime c Δ j = c + jΔ.
Present: a pass that accepts at the K-th item has its next acts at c + jΔ and its accept at c + KΔ; if item j is shown on a final part of cycle j, the accepted item is item K.
Absent: a pass that ends after the L-th item has every item act a next act, the j-th at c + jΔ, and ends at c + LΔ; if item j is shown on a final part of cycle j, every item is read once.
The rank average: for list lengths L ≤ Lmax, passes at every rank K accepting at the K-th item and passes ending after the L-th, all with the same c and Δ: the accept times read from the records average c + (L+1)Δ/2, the end falls at c + LΔ, and one added item raises the average by half the rise of the end.