#14105: all_graph_colorings should have an option to use integer colors.
---------------------------------------------------+------------------------
       Reporter:  rowland                          |         Owner:  jason, 
ncohen, rlm       
           Type:  enhancement                      |        Status:  needs_work 
              
       Priority:  minor                            |     Milestone:  sage-5.8   
              
      Component:  graph theory                     |    Resolution:             
              
       Keywords:  days45                           |   Work issues:             
              
Report Upstream:  N/A                              |     Reviewers:  Chris 
Berg, Nathann Cohen
        Authors:  Alejandro Morales, Eric Rowland  |     Merged in:             
              
   Dependencies:                                   |      Stopgaps:             
              
---------------------------------------------------+------------------------
Changes (by ncohen):

  * status:  needs_review => needs_work


Comment:

 Two doctests of graph.py do not pass
 {{{
 sage -t -long devel/sage-2/sage/graphs/graph.py
 **********************************************************************
 File "/home/ncohen/.Sage/devel/sage-2/sage/graphs/graph.py", line 3190:
     sage: P = G.coloring(algorithm="DLX"); P
 Expected:
     [[1, 2, 3], [0, 5, 6], [4]]
 Got:
     [[0, 5, 6], [1, 2, 3], [4]]
 **********************************************************************
 File "/home/ncohen/.Sage/devel/sage-2/sage/graphs/graph.py", line 3200:
     sage: for c in sorted(H.keys()):
           print c, H[c]
 Expected:
     #0000ff [4]
     #00ff00 [1, 2, 3]
     #ff0000 [0, 5, 6]
 Got:
     0 [0, 5, 6]
     1 [1, 2, 3]
     2 [4]
 **********************************************************************
 }}}

 Nathann

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14105#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

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


Reply via email to