Opened 4 years ago

Closed 4 years ago

#26672 closed enhancement (fixed)

clean (part 10) - degree

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

Status badges

Description (last modified by David Coudert)

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 4 years ago by David Coudert

Branch: public/26672_generic_graph_part_10_degree
Cc: Travis Scrimshaw added
Commit: 675e67b94dd5343f5cc9c5d2d47e1606afd93511
Description: modified (diff)
Status: newneeds_review

New commits:

675e67btrac #26672: methods related to degree in

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/26672_generic_graph_part_10_degree675e67b94dd5343f5cc9c5d2d47e1606afd93511
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.