Timeline for code that produces all possible trees with n nodes. [closed]
Current License: CC BY-SA 2.5
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 18, 2011 at 17:14 | history | closed |
Harry Gindi Igor Pak Felipe Voloch user6976 Andy Putman |
off topic | |
Jan 18, 2011 at 15:09 | answer | added | Tony Huynh | timeline score: 5 | |
Jan 18, 2011 at 14:09 | comment | added | Harry Gindi | Dear James, this is a common exercise given in programming classes. If he just wanted an application that did it, it would be fine to ask here, but he's asking for source code as well. | |
Jan 18, 2011 at 13:01 | comment | added | James Martin | The question seems completely fine. Trees are a basic mathematical object; maybe the poster is just interested in properties of the set of trees on n nodes. For the purpose of asking for the code, he really doesn't need to tell us precisely which properties. I don't think being pointed to stackoverflow is helpful: stackoverflow is for questions about programming. It seems just as likely that professional mathematicians will know of a tool for generating lists of trees than that professional programmers will, so mathoverflow seems at least as suitable as stackoverflow, probably more so. | |
Jan 18, 2011 at 11:42 | comment | added | Harry Gindi | Dear Neil, if marvin wants to use it for some mathematical reason (for operads, for instance), then he should give background on his application. The more background one gives, the less likely one will be sent to SO. | |
Jan 18, 2011 at 11:35 | comment | added | Neil Strickland | Why is this not appropriate? There are plenty of contexts (often involving operads) where it is useful to have lists of trees to test conjectures and so on. | |
Jan 18, 2011 at 3:52 | comment | added | Derrick Stolee | To prevent comments such as the one above, ask "An algorithm that..." instead of "code that...". Usually, you'll also get an implementation of that algorithm. | |
Jan 18, 2011 at 2:58 | answer | added | Chris Godsil | timeline score: 14 | |
Jan 18, 2011 at 2:46 | comment | added | user5810 | See stackoverflow.com. | |
Jan 18, 2011 at 2:34 | history | asked | marvin | CC BY-SA 2.5 |