thu-pacman/GeminiGraph

SSSP with different results

chenyi95 opened this issue · 4 comments

I run SSSP with com-friendster dataset.
It seems weird that different results occur at 5th and 6th iteration.
I checked the results of other iteration which are exact with other tools.

This snapshot shows two trials but it happens every time. Is 5/6th iteration using some heuristic ways? Why?
example

btw what is the meaning of distance[64037984]? what is 64037984?

Hi. This is possible since Gemini's executions are not deterministic, so for each run you may observe different intermediate states. However, the final results should be consistent if the algorithms are implemented correctly.
The current implementation of SSSP will print the largest distance reachable from the source vertex (well it seems that the largest distance in your example is 0 and you may check whether this is due to all the weights being 0).

In my case, the weight is 1 for all edges. The largest distance is 28 for this node, and the number of nodes at 28-hop is the exact.
Actually the number of other k-th hops are the same except 5-hop and 6-hop.

Hi, the numbers after "active(...)>=" (well there is a typo here i.e. ">=" should be "<=") are the numbers of activations in these iterations so they are not exact numbers. I hope this can resolve your confusion.

I understand and close this issue