NLA-lib Explorer

NLAlib.QueryAlgorithm.IsPassStructured

Library · structure

A query algorithm is pass-structured with pass map pass : ℕ → ℕ when its rounds are grouped into passes, round i in pass pass i, the passes in order (pass is monotone), and each query depends only on the responses of earlier passes: two histories that agree on every round of a pass before pass i give the same query i. The queries of one pass form a block chosen before any of its responses is seen. A p-pass algorithm is one with the further hypothesis ∀ i < q, pass i < p. Every algorithm is pass-structured with pass = id, one query per pass (QueryAlgorithm.isPassStructured_id); with pass = 0 it is non-adaptive (QueryAlgorithm.isPassStructured_zero_iff_isNonAdaptive).

NLAlib.QueryAlgorithm.IsPassStructured.{u_1, u_2, u_3} {Q : Type u_1} {R : Type u_2} {β : Type u_3}
  {q : ℕ} (alg : QueryAlgorithm Q R q β) (pass : ℕ → ℕ) : Prop

Full source on GitHub

Import NLAlib.LowerBounds.QueryModel.Basic.