File size: 824 Bytes
dd14c26 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | import OAI.Probability.MatroidProphet.Main
namespace OAI
/-! A separate score vector evaluates the actual accepted labels without changing
the observations or decisions. In particular, rounded analysis scores need not
be substituted for the arriving weights. -/
namespace MatroidProphet
open scoped BigOperators
noncomputable def hiddenScore {n bits : ℕ} (A : HiddenRule n bits)
(r : Seed bits) (w score : Weights n) (π : ArrivalOrder n) : ℝ :=
∑ e ∈ hiddenAcceptedThrough A r w π n, score e
/-- The order minimum is taken separately for each complete seed. -/
noncomputable def hiddenWorstScore {n bits : ℕ} (A : HiddenRule n bits)
(w score : Weights n) (r : Seed bits) : ℝ := by
classical
exact Finset.univ.inf' Finset.univ_nonempty (hiddenScore A r w score)
end MatroidProphet
end OAI
|