Am 17.06.19 um 01:39 schrieb JeanPierre Paillet:
> Hello:
>
> In the code for 'label_largest_component()' below,
> I can't make sense of the third line. What does it accomplish?
>
> label = g.new_vertex_property("bool")
> c, h = label_components(g, directed=directed)
> vfilt, inv = g.get_vertex_filter()
> label.fa = c.fa == h.argmax()
> return label
It does not accomplish anything; it's an innocuous remnant of a previous
revision. I have removed the line and will push it the repository shortly.
--
Tiago de Paula Peixoto <[email protected]>
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool