Opened 4 years ago

Closed 4 years ago

#18262 closed enhancement (fixed)

Make centrality_betweenness interruptible

Reported by: ncohen Owned by:
Priority: major Milestone: sage-6.7
Component: graph theory Keywords:
Cc: dcoudert, borassi Merged in:
Authors: Nathann Cohen Reviewers: David Coudert
Report Upstream: N/A Work issues:
Branch: d665ec7 (Commits) Commit: d665ec7dc38353a36ef6212db70cf25ccde97bc3
Dependencies: #18260 Stopgaps:

Description

Make centrality_betweenness interruptible. This is achieved with a try/finally.

Change History (3)

comment:1 Changed 4 years ago by ncohen

  • Branch set to public/18262
  • Commit set to d665ec7dc38353a36ef6212db70cf25ccde97bc3
  • Status changed from new to needs_review

New commits:

e25a95etrac #18260: Small fix for directed graphs
b83d828trac #18260: Move centrality functions from graph.py to generic_graph.py
e55042etrac #18260: A new doctest
7314459trac #18260: Broken link in the doc
4bc0de8trac #18260: Reviewer's comments
487b3a2trac #18262: regroup mallocs
960fdaatrac #18262: increase identation (and nothing else)
a8c0159trac #18262: Exception check
d665ec7trac #18262: Simplify memory allocation

comment:2 Changed 4 years ago by dcoudert

  • Reviewers set to David Coudert
  • Status changed from needs_review to positive_review

Good. I like the check_malloc and sig_check methods. I will learn to use them.

All test pass, so it's good for me.

comment:3 Changed 4 years ago by vbraun

  • Branch changed from public/18262 to d665ec7dc38353a36ef6212db70cf25ccde97bc3
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.