Differences between revisions 2 and 3
Revision 2 as of 2010-12-18 07:54:54
Size: 482
Editor: koumudi
Comment:
Revision 3 as of 2010-12-18 07:59:12
Size: 486
Editor: koumudi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:

  • Book

    Advanced Engineering Mathematics

    Author

    Erwin Kreyszig

    Edition

    8th Edition

g=Graph()
g = Graph({1:[2,4,6], 2:[1,3,5],3:[2,4,6],4:[3,1,5],5:[2,4,6],6:[1,3,5]});
g.plot()
g.coloring()
[[2, 4, 6], [1, 3, 5]] //output

g.chromatic_number()
 2 //output
//code demonstrates adjacent vertices are colored differently

  • Solution by:

    • Koumudi, Student, SNIST

Kreyszig-21.8-17-U (last edited 2010-12-18 07:59:12 by koumudi)