Opened 4 years ago
Closed 4 years ago
#26566 closed enhancement (fixed)
clean static_dense_graph.pyx
Reported by: | David Coudert | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-8.5 |
Component: | graph theory | Keywords: | py3, graph |
Cc: | Travis Scrimshaw, Frédéric Chapoton | Merged in: | |
Authors: | David Coudert | Reviewers: | Travis Scrimshaw |
Report Upstream: | N/A | Work issues: | |
Branch: | 97c140b (Commits, GitHub, GitLab) | Commit: | 97c140b07813ce107277233d2f8b4048cc66b403 |
Dependencies: | Stopgaps: |
Description
Done in this ticket:
- extend the definition of parameter
translation
ofdense_graph_init
to allow passing a mapping from vertices to integers or from integers to vertices. We thus save several calls to.vertices()
. - PEP8 cleaning
This new functionality should be used in independent_sets.pyx
and vertex_separation.pyx
, but after the merging of #26446 and #26520.
Change History (3)
comment:1 Changed 4 years ago by
Branch: | → public/26566_static_dense_graph |
---|---|
Cc: | Travis Scrimshaw Frédéric Chapoton added |
Commit: | → 97c140b07813ce107277233d2f8b4048cc66b403 |
Status: | new → needs_review |
comment:2 Changed 4 years ago by
Reviewers: | → Travis Scrimshaw |
---|---|
Status: | needs_review → positive_review |
LGTM.
comment:3 Changed 4 years ago by
Branch: | public/26566_static_dense_graph → 97c140b07813ce107277233d2f8b4048cc66b403 |
---|---|
Resolution: | → fixed |
Status: | positive_review → closed |
Note: See
TracTickets for help on using
tickets.
New commits:
trac #26566: clean static_dense_graph.pyx