Title: Efficient generation of linear extensions and other restricted permutations