Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Random Trees

by prashantpokhriyal (Novice)
on Sep 30, 2017 at 15:29 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-28 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found