#19031: New Algorithm for Top-K Closeness Centralities
-------------------------------------+-------------------------------------
       Reporter:  borassi            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.9
      Component:  graph theory       |   Resolution:
       Keywords:  Closeness          |    Merged in:
  Centrality, top-k                  |    Reviewers:  David Coudert
        Authors:  Michele Borassi    |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  ced875f0b1fba123a0921d5937f894cc8fe41b1e
  u/borassi/new_algorithm_for_top_k_closeness_centralities|     Stopgaps:
   Dependencies:  #19007,#19014      |
-------------------------------------+-------------------------------------
Changes (by vbraun):

 * status:  positive_review => needs_work


Comment:

 On 32-bit Linux:
 {{{
 sage -t --long src/sage/graphs/centrality.pyx
 **********************************************************************
 File "src/sage/graphs/centrality.pyx", line 588, in
 sage.graphs.centrality.centrality_closeness_top_k
 Failed example:
     centrality_closeness_top_k(g, 5, 1)
 Expected:
     Final performance ratio: 0.766666666667
     [(0.36, 5),
      (0.36, 4),
      (0.3333333333333333, 6),
      (0.3333333333333333, 3),
      (0.29032258064516125, 2)]
 Got:
     Final performance ratio: 0.805555555556
     [(0.36, 5),
      (0.36, 4),
      (0.3333333333333333, 6),
      (0.3333333333333333, 3),
      (0.29032258064516125, 7)]
 **********************************************************************
 1 item had failures:
    1 of  40 in sage.graphs.centrality.centrality_closeness_top_k
     [51 tests, 1 failure, 0.16 s]
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19031#comment:18>
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