http://qs1969.pair.com?node_id=1200427


in reply to Random Trees

when I'm using vertex = 1 it is returning me one edge, which can't be possible.

Replies are listed 'Best First'.
Re^2: Random Trees
by Anonymous Monk on Sep 30, 2017 at 18:20 UTC
    Yeah, it doesn't work for $n=1, because it's not possible for rank_to_prufer to return a list of length $n-2==-1. I suppose it should just die in that case. Is this a big problem for you?

    Also, this thread is 14 years old, and Foxtrot hasn't been here in almost 11. Maybe threads should be auto-locked at some point?