#6679: [with patch, needs review] Vertex Coloring, Edge Coloring
----------------------------+-----------------------------------------------
Reporter: ncohen | Owner: rlm
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-4.2
Component: graph theory | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
----------------------------+-----------------------------------------------
Changes (by kcrisman):
* status: needs_review => needs_info
Comment:
I have a question. What is the relation to the already existing methods
.chromatic_number() and .coloring()?
{{{
sage: G = graphs.PetersenGraph()
sage: G.coloring()
[[1, 3, 5, 9], [0, 2, 6], [4, 7, 8]]
sage: G.chromatic_number()
3
}}}
At the very least it seems reasonable to modify .coloring() rather than
add a new function, and perhaps keep the previous algorithm if that is
useful. I can't speak to which one is better, unfortunately, but it can
be good to avoid a surfeit of methods.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6679#comment:9>
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 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
-~----------~----~----~----~------~----~------~--~---