Minimal representatives of endofunctions
摘要
We present a simple and efficient algorithm for finding the lexicographically minimal representative in a given conjugacy class of the action of the symmetric group on endofunctions.