#17449: deprecate/remove Graph.to_partition and Poset.to_graph
----------------------------+---------------------------------
Reporter: ncohen | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.5
Component: graph theory | Keywords:
Merged in: | Authors: Nathann Cohen
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------------+---------------------------------
As discussed on sage-devel [1], the two function `Graph.to_partition` and
`Poset.to_graph` do not have a very meaningful name.
As `Poset.to_graph` can be obtained from the clearer alternatives
`Graph(Poset.hasse_diagram())` or `Poset.hasse_diagram().to_undirected()`
it is not a problem to remove it. On the other hand, the discussion on
sage-devel seemed to indicate that `Graph.to_partition` should be renamed
rather than removed.
Also, as it appeared that people were more interested in the size of
connected components than in the actual `Partition` object, the new
function will only return a list of integers.
Nathann
[1] https://groups.google.com/forum/#!topic/sage-devel/TeIwE2L2MOQ
--
Ticket URL: <http://trac.sagemath.org/ticket/17449>
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.
For more options, visit https://groups.google.com/d/optout.