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:

Status badges


Done in this ticket:

  • extend the definition of parameter translation of dense_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 David Coudert

Branch: public/26566_static_dense_graph
Cc: Travis Scrimshaw Frédéric Chapoton added
Commit: 97c140b07813ce107277233d2f8b4048cc66b403
Status: newneeds_review

New commits:

97c140btrac #26566: clean static_dense_graph.pyx

comment:2 Changed 4 years ago by Travis Scrimshaw

Reviewers: Travis Scrimshaw
Status: needs_reviewpositive_review


comment:3 Changed 4 years ago by Volker Braun

Branch: public/26566_static_dense_graph97c140b07813ce107277233d2f8b4048cc66b403
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.