Patrick DiSalvo MSc Defence
Date and Time
Online via Zoom!
Amidakuji: Gray Code Algorithms and Equations for Listing Ladder Lotteries
Chair: Dr. Mark Wineberg
Advisor: Dr. Joe Sawada
Advisory Member: Dr. Charlie Obimbo
Non-Advisory Member: Dr. Steve Gismondi [Math & Stats]
We provide a Gray code for listing ladder lotteries in which successive ladders differ by the addition/removal of a single bar or the relocation of a bar. Ladder lotteries are an abstract mathematical object which correspond to permutations. They are a network of vertical lines and horizontal bars, which induce transpositions on elements in a specific permutation when the lines cross. Ladder lotteries are of interest to the field of theoretical computer science because of their relationship with other mathematical objects such as primitive sorting networks.
To list ladder lotteries, we define a function that calculates the location for any bar in the data structure in O(1) time. We provide an O(n2) amortized algorithm for creating a specific ladder corresponding to a specific permutation. We provide an O(1) amortized algorithm for listing n! canonical ladders by adding or removing a bar. Finally, we provide a Gray code for listings n! ladders ordered by the number of bars.