Hi Brendan, Please forgive me if this is a repeat question. Does Nauty have a function that generates rooted trees? I already have the code by Beyer & Hedetniemi and by Li & Ruskey. I am writing my own method in an attempt to equal their performance. I am timing all three methods as I go. Best wishes, Keith PS and what about free trees?