affo/sand

Breadth-First Complexity

Closed this issue · 2 comments

affo commented

Why does Breadth-First runs give O(n^2) complexity?

affo commented

Still remains that, with p = 1 (strongly connected graph), we should get O(n^2).

affo commented

With p = 1 it gets a strange behavior, I suspect that you should pass 1.0.
With p = 0.9: https://plot.ly/~affo/22/bf-p-09-quadratic/