You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an interesting discussion with the igraph authors at their forum. They highlighted that the non-deterministic CDLP algorithm isn't only faster but also better in some cases (as it tends to avoid the oscillation of labels). So when touching the CLDP codebase, I'll also add a boolean flag to set deterministic/non-deterministic behaviour.
The text was updated successfully, but these errors were encountered:
A correction to my earlier post: the nondeterminism (always picking the smallest label) is not the main cause of the oscillation - instead, the problem is the synchronous nature of the algorithm. An asynchronous algorithm does better for avoiding the problem.
A potential workaround is partitioning the work, then
select k vertices and their incoming edges in the matrix randomly
compute the new labels
assign the labels to vector l
if all vertices were processed, we're done, otherwise go to 1.
I had an interesting discussion with the igraph authors at their forum. They highlighted that the non-deterministic CDLP algorithm isn't only faster but also better in some cases (as it tends to avoid the oscillation of labels). So when touching the CLDP codebase, I'll also add a boolean flag to set deterministic/non-deterministic behaviour.
The text was updated successfully, but these errors were encountered: