On 6/14/12 7:40 AM, Javier López Peña wrote:
On Thursday, June 14, 2012 3:39:23 PM UTC+1, Javier López Peña wrote:

    Yes, that is the case. The (weighted) clustering coefficient
    algorithm (with weighted *edges*)
    computes some auxiliary *vertex* weights. The old method used to
    return all of it, the new one
    just returns the clustering coefficients


That being said, I know of no other use of those "weights" than serving
as auxiliary variables for the computation of the clustering coefficients.

Sure. The problem being if someone has code that expects the extra dictionaries:

a,b = your_function()

breaks.

I'd name the backwards_compatible parameter something like:

return_vertex_weights=True

with a deprecation warning if it is set to True and it would have returned weights before.

Jason

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to