Yes, that's true. The documentation says: "degree type (“in”, “out” or “total”) or vertex property map, which specifies the vertex types". Which means that the "deg" parameter can also be "in", "out" or "total" degree. So if I understand correctly, one can treat say out degrees as discrete categories, but that just won't be very useful (from your previous email). Is this right?

Thank you
Snehal

On Sat, Oct 7, 2017 at 3:43 PM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 07.10.2017 05:45, Snehal Shekatkar wrote:
> I am very sorry for this silly mistake. The last question though: when I
> have discrete categories, and I am using gt.assortativity, what role does
> the parameter "deg" play? The comment in the source code says: "this will
> calculate the assortativity coefficient, based on the property pointed by
> 'deg' ". What does this mean?

"deg" is the vertex property map that determines the discrete categories.

--
Tiago de Paula Peixoto <tiago@skewed.de>


_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool




--
Snehal M. Shekatkar
Pune
India