Opened 2 years ago

Closed 2 years ago

#26566 closed enhancement (fixed)

clean static_dense_graph.pyx

Reported by: dcoudert Owned by:
Priority: major Milestone: sage-8.5
Component: graph theory Keywords: py3, graph
Cc: tscrim, chapoton Merged in:
Authors: David Coudert Reviewers: Travis Scrimshaw
Report Upstream: N/A Work issues:
Branch: 97c140b (Commits) Commit: 97c140b07813ce107277233d2f8b4048cc66b403
Dependencies: Stopgaps:


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 2 years ago by dcoudert

  • Branch set to public/26566_static_dense_graph
  • Cc tscrim chapoton added
  • Commit set to 97c140b07813ce107277233d2f8b4048cc66b403
  • Status changed from new to needs_review

New commits:

97c140btrac #26566: clean static_dense_graph.pyx

comment:2 Changed 2 years ago by tscrim

  • Reviewers set to Travis Scrimshaw
  • Status changed from needs_review to positive_review


comment:3 Changed 2 years ago by vbraun

  • Branch changed from public/26566_static_dense_graph to 97c140b07813ce107277233d2f8b4048cc66b403
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.