#26672 closed enhancement (fixed)

clean generic_graph.py (part 10) - degree

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

Description (last modified by dcoudert)

Here we improve the documentation and doctests of methods degree, average_degree, degree_histogram, degree_iterator, degree_sequence, is_regular.

In particular, we make it clear that a call to .degree() returns a list of the degrees of vertex degrees in the order of list(G) and not of .vertices().

Change History (3)

comment:1 Changed 13 months ago by dcoudert

  • Branch set to public/26672_generic_graph_part_10_degree
  • Cc tscrim added
  • Commit set to 675e67b94dd5343f5cc9c5d2d47e1606afd93511
  • Description modified (diff)
  • Status changed from new to needs_review

New commits:

675e67btrac #26672: methods related to degree in generic_graph.py

comment:2 Changed 13 months ago by tscrim

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

LGTM.

comment:3 Changed 13 months ago by vbraun

  • Branch changed from public/26672_generic_graph_part_10_degree to 675e67b94dd5343f5cc9c5d2d47e1606afd93511
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.