easyiec.core.information_bits#

easyiec.core.information_bits(query)[source]#

Upper bound of the information (bits) one answer to query can carry.

select with fixed k: \(\log_2\binom nk\); free selection: \(n\) bits; rank: \(\log_2 n!\); rate with \(m\) levels: \(n\log_2 m\); pairs with ties: \(\log_2 3\) per pair; best_worst: \(\log_2 n(n-1)\); line with \(K\) samples: \(\log_2 K\).

Examples using easyiec.core.information_bits#

Seven ways to answer: feedback protocols

Seven ways to answer: feedback protocols