Checking Graph Colorability: How Many Colors are Needed?

  • Thread starter zetafunction
  • Start date
  • Tags
    Graph
  • #1
391
0
given a bipartite graph , how do i know that two colors are enough to paint it ??

another question given a general graph , how do i know how many colors do i need to color it

of course in any case there can not be adjacent colors in vertices
 
  • #2
1) Because it is bipartite - look at the definition of bipartite

2) Computing the chromatic number is NP-complete, so in general you don't know if it can be coloured with k colours by any cheap calculation.
 

Suggested for: Checking Graph Colorability: How Many Colors are Needed?

Replies
3
Views
903
Replies
7
Views
385
Replies
15
Views
810
Replies
9
Views
128
Replies
4
Views
919
Back
Top