Practical performance of incremental topological sorting and cycle detection algorithms
Examensarbete för masterexamen
Computer science – algorithms, languages and logic (MPALG), MSc
Sigurðsson, Ragnar Lárus
Algorithms become more advanced and asymptotic time bounds get lower but there is very little data on the actual performance of new algorithms. The aim of this thesis is to do empirical testing of the most recent incremental topological sorting and cycle detection algorithms in order to compare them and to provide an accessible guide to where each algorithm performs best. The algorithms are implemented as the articles describe them and compared on even grounds by measuring their performance by adding edges to graphs. For sparse graphs the HKMST-Sparse  algorithm performed best and HKMSTDense  for very dense graphs. The Pearce & Kelly  algorithm is a strong contender as it is extremely simple and has acceptable performance across all graph densities and performs best in the range 35-80% density.
Informations- och kommunikationsteknik , Data- och informationsvetenskap , Information & Communication Technology , Computer and Information Science