#19007: Refactor Closeness Centrality
-------------------------------------+-------------------------------------
       Reporter:  borassi            |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.9
      Component:  graph theory       |   Resolution:
       Keywords:  Closeness          |    Merged in:
  centrality                         |    Reviewers:
        Authors:  Michele Borassi    |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  a19addbd50db4086adbfc88c29b5c01f368dabc6
  u/borassi/refactor_centrality_closeness|     Stopgaps:
   Dependencies:  #18931, #18876,    |
  #18910                             |
-------------------------------------+-------------------------------------

Comment (by dcoudert):

 Right. My previous proposal is not a good solution.
 Something like that might also be unsafe if some labels in `vert` are not
 in `G`, but this can be checked when trying to associate computed values
 and vertices.
 {{{
 v_vert = iter([vert]) if vert in G else iter(vert)
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19007#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to