I strongly object to removing the function to_partition as it is useful 
to people (beyond FindStat), but I'm not opposed to renaming it to 
something like connected_components_partition. Similar for to_graph. 
Although if you want to argue about removing "one-line" functions, we 
should also remove add_edges, add_vertices, delete_edges, delete_vertices, 
subdivide_edges, average_degree, average_distance, etc. Also I cannot 
emphasize sufficiently that not all Sage users who use the graph code are 
graph theorists.

Travis
 

On Tuesday, December 2, 2014 2:12:07 AM UTC-8, vdelecroix wrote:
>
> Hello, 
>
> For Graph I would remove the one line functions 
>
>  - remove Graph.to_partition 
>  - remove Graph.connected_components_number 
>
> or as a second choice 
>
>  - rename Graph.to_partition -> Graph.connected_components_sizes (with 
> an argument `multiplicity` if you need to emphasize that you will 
> repeat the numbers several time) 
>
> Vincent 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" 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-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to