ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 04 Sep 2018 02:06:30 -0500natural sub-class of trees in Sagehttp://ask.sagemath.org/question/43574/natural-sub-class-of-trees-in-sage/ I want to calculate certain parameter for class of trees like path graphs, star graphs. I dont want to calculate it for all trees with n vertices as this wont help me in my problem. Basically I need a natural class of trees.
I have found that path graph and star graph is available in sage.
If you can suggest me some other class of trees like this in sage it will be very helpful to me.
Thank you.Tue, 04 Sep 2018 01:33:27 -0500http://ask.sagemath.org/question/43574/natural-sub-class-of-trees-in-sage/Answer by tmonteil for <p>I want to calculate certain parameter for class of trees like path graphs, star graphs. I dont want to calculate it for all trees with n vertices as this wont help me in my problem. Basically I need a natural class of trees.</p>
<p>I have found that path graph and star graph is available in sage.</p>
<p>If you can suggest me some other class of trees like this in sage it will be very helpful to me.</p>
<p>Thank you.</p>
http://ask.sagemath.org/question/43574/natural-sub-class-of-trees-in-sage/?answer=43575#post-id-43575Non-artificial classes really depend on the property you are studying. Without more information, i am thinking of:
- caterpillar trees
- binary trees
- centered treed
- bi-centered trees
- random trees (where you want to compute the probability of a certain property when n gets large)Tue, 04 Sep 2018 02:06:30 -0500http://ask.sagemath.org/question/43574/natural-sub-class-of-trees-in-sage/?answer=43575#post-id-43575