#5913: implement graph coloring in sage
--------------------------+-------------------------------------------------
 Reporter:  was           |       Owner:  rlm     
     Type:  enhancement   |      Status:  new     
 Priority:  major         |   Milestone:  sage-4.0
Component:  graph theory  |    Keywords:          
--------------------------+-------------------------------------------------

Comment(by was):

 {{{
 >> from sage.graphs import graph_coloring
 >> G = Graph("Fooba")
 >> C = graph_coloring.first_coloring(4)
 >> G.show(vertex_colors=C)

 Why does this have to be obfuscated?   Nobody will ever find this by doing

   G.<tab>

 with a graph.    Is it because you didn't view the code as ready?

 If the code is "ready",  this will make solving #5913 fairly easy -- just
 add a function to graphs that calls graph_coloring.first_coloring.

  -- William

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5913#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to