Ask Your Question
0

natural sub-class of trees in Sage

asked 2018-09-04 01:33:27 -0500

GA316 gravatar image

updated 2018-09-04 01:34:18 -0500

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-09-04 02:06:30 -0500

tmonteil gravatar image

updated 2018-09-04 02:06:49 -0500

Non-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)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-09-04 01:33:27 -0500

Seen: 20 times

Last updated: Sep 04