{"action":"opened","issue":{"url":"https://api.github.com/repos/gunrock/gunrock/issues/64","labels_url":"https://api.github.com/repos/gunrock/gunrock/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/gunrock/gunrock/issues/64/comments","events_url":"https://api.github.com/repos/gunrock/gunrock/issues/64/events","html_url":"https://github.com/gunrock/gunrock/issues/64","id":116551131,"number":64,"title":"Generate bfs tree with parent information for every vertex rather than level array","user":{"login":"ranjanan","id":9101377,"avatar_url":"https://avatars.githubusercontent.com/u/9101377?v=3","gravatar_id":"","url":"https://api.github.com/users/ranjanan","html_url":"https://github.com/ranjanan","followers_url":"https://api.github.com/users/ranjanan/followers","following_url":"https://api.github.com/users/ranjanan/following{/other_user}","gists_url":"https://api.github.com/users/ranjanan/gists{/gist_id}","starred_url":"https://api.github.com/users/ranjanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranjanan/subscriptions","organizations_url":"https://api.github.com/users/ranjanan/orgs","repos_url":"https://api.github.com/users/ranjanan/repos","events_url":"https://api.github.com/users/ranjanan/events{/privacy}","received_events_url":"https://api.github.com/users/ranjanan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-12T13:44:02Z","updated_at":"2015-11-12T13:44:02Z","closed_at":null,"body":"Hello,\r\nI was wondering how I could use gunrock to generate a bfs tree that starts from `src` (input) and gives me the parent id for every vertex, instead of the levels that the bfs() function in `libgunrock.so` returns right now. The result should be an array which, at every position, contains the id of the immediate predecessor in the bfs tree. \r\n\r\nJust to be clear: the `src`'s parent id is `src` itself, whereas at all its neighbour's positions, the value is `src`. Then we take the first neighbour, let's call it `a`. All `a`'s neighbours will have `a` at their positions in the parent array, and so on. "}}