Ask Your Question
0

natural sub-class of trees in Sage

asked 6 years ago

GA316 gravatar image

updated 5 years ago

FrédéricC gravatar image

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 6 years ago

tmonteil gravatar image

updated 6 years ago

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)
Preview: (hide)
link

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: 6 years ago

Seen: 344 times

Last updated: Sep 04 '18