Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Random Trees

by prashantpokhriyal (Novice)
on Sep 30, 2017 at 15:29 UTC ( #1200427=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1200427]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-01-26 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (69 votes). Check out past polls.

    Notices?