Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error result while performing BFS algorithm #14

Closed
yumh opened this issue Apr 2, 2019 · 3 comments
Closed

Error result while performing BFS algorithm #14

yumh opened this issue Apr 2, 2019 · 3 comments

Comments

@yumh
Copy link

yumh commented Apr 2, 2019

Error result while performing BFS algorithm.
Input data :# nodes: 3997962 ===> output : found_vertices = 1655427.
Input data :# nodes: 2394385 ===> output : found_vertices = 1
Why is the number of input nodes inconsistent with the number of output nodes?

@coolerzxw
Copy link
Member

I am not sure I fully understand what you mean. Can your give more details?

@yumh
Copy link
Author

yumh commented Apr 7, 2019

[root@hw073 GeminiGraph]# ./toolkits/bfs /home/renrui/graph-datasets/data/email-EuAll.txt.bin 265214 1
active(0)>=1
active(1)>=129372
active(2)>=19139
active(3)>=6
exec_time=0.014675(s)
found_vertices = 148518

@coolerzxw
Copy link
Member

Well, the found_vertices in the output of BFS is the number of vertices that can be reached from the root vertex, which doesn't necessarily equal |V|.

@yumh yumh closed this as completed Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants