Hüsing, J. (2006). An Accept-and-Reject Algorithm to Sample from a Set of Permutations Restricted by a Time Constraint. Journal of Statistical Software, 16(6), 1–17. https://doi.org/10.18637/jss.v016.i06