A ladder lottery, known as the "Amidakuji" in Japan, is a common way to choose a permutation randomly. A ladder lottery L corresponding to a given permutation π is optimal if L has the minimum number of horizontal-lines among ladder lotteries corresponding to π. In this paper we show that for any two optimal ladder lotteries L 1 and L 2 of a permutation, there exists a sequence of local modifications which transforms L 1 into L 2 . We also give an algorithm to enumerate all optimal ladder lotteries of a given permutation. By setting π = (n, n − 1, . . . , 1), the algorithm enumerates all arrangements of n pseudolines efficiently. By implementing the algorithm we compute the number of arrangements of n pseudolines for each n ≤ 11.
Third, a ladder lottery of the reverse permutation (n, n − 1, . . . , 1) corresponds to a pseudoline arrangement in discrete geometry REF .
Efficient enumeration of all ladder lotteries and its application
Theor. Comput. Sci.
Theor. Comput. Sci.
Mathematics Computer Science