Ok, thank you for the fix and clarification.

Best,

Alex

2016-09-05 5:56 GMT-04:00 Tiago de Paula Peixoto <tiago@skewed.de>:

On 18.08.2016 22:54, Alexandre Bovet wrote:
> Looking at the source code of kcore_decomposition, it looks like when
> deg=='out', the decomposition is done on the reversed network, but still
> using the out-degree. Is it normal? I am a bit confused.

You're right; the directed case is being implemented inconsistently. I
have fixed this in git.

Note, however, that "directed k-core" is a fairly nonstandard thing, and
definitions will vary.

Best,
Tiago

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


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