| My signature work project mainly uses Python programming to simulate the book sorting process in the real life. By outputing all the rearranging cases of a list(representing a stack of books needs to be sorted), I use cost functions to calculate the rearranging costs of the rearranging cases. Among them, I observed the logic behind the rearranging case of the lowest cost. I also used randomization and probabilty-based method of choosing swapping indexes to explore the ways to optimize the book sorting. |