Ask Your Question
4

chromatic polynomial of empty graph

asked 8 years ago

EmersonL gravatar image

updated 2 years ago

tmonteil gravatar image

I know it is kind of silly, but the computation of the chromatic polynomial of the empty graph loops forever.

graphs.EmptyGraph().chromatic_polynomial()

(no question here... just a comment. I guess it is easy to correct, since it is supposed to be 1)

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

kcrisman gravatar image

This apparently has been the case for a while ... I opened Ticket 21502 for this issue. Thank you!

Preview: (hide)
link

Comments

I do not see what makes the empty graph not a tree :/

tmonteil gravatar imagetmonteil ( 8 years ago )

So the "poly" would be x/(x-1) ? :P But probably someone has already done this, like the field of one element stuff ...

kcrisman gravatar imagekcrisman ( 8 years ago )

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

Seen: 296 times

Last updated: Sep 16 '16