pub fn choose_legal(mask: &[bool], i: u64) -> usizeExpand description
The joint action that tests and benchmarks take where the environment
gives a legal action mask (row-major over the joint actions): the
pattern_discrete(i, count)-th legal one (0 if none is legal), the
same in every implementation.