Ticket #9742 (closed enhancement: fixed)
Sorting edges of a graph
| Reported by: | rbeezer | Owned by: | jason, ncohen, rlm |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-4.6 |
| Component: | graph theory | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | Nathann Cohen |
| Authors: | Rob Beezer | Merged in: | sage-4.6.alpha1 |
| Dependencies: | Stopgaps: |
Description
This patch adds a "key" argument to allow custom sorting of the output of the graph method edges(). It adds to the documentation to make it clear that vertices will not always have a default sort order and thus edges may not always sort properly or as expected.
See:
#9741
http://groups.google.com/group/sage-devel/browse_thread/thread/40ac90ee3f28d723/
http://groups.google.com/group/sage-devel/browse_thread/thread/5adbb850f787373c/
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

