Re:Show HN: Six Degrees of Wikipedia
by AstralStorm on Monday February 26, 2018 @03:36PM
(#16468758)
Not too expensive, you can use parallel IDDFS to get a good approximation quickly. (Especially if you pick a good heuristic to follow links.)
Challenging part is keeping track of already visited pages to break cycles - some variant of a Bloom filter will help.
[1] https://github.com/jwngr/sdow/blob/a2699dc95d884ec64a4641630...