{"action":"created","comment":{"url":"https://api.github.com/repos/lijinf2/losha/pulls/comments/189171752","pull_request_review_id":121299422,"id":189171752,"diff_hunk":"@@ -484,10 +484,56 @@ void AdjObject::resetLabels(\n         });\n }\n \n-unordered_set<int> AdjObject::getKIdMaxIndegree(\n+bool minHeapPairComparator(const pair<unsigned, int>& p1, const pair<unsigned, int>& p2) {","path":"knngraph/apps/adjobject.h","position":14,"original_position":14,"commit_id":"71061a0ff781df061fbc8a5ccf858f760c47209f","original_commit_id":"71061a0ff781df061fbc8a5ccf858f760c47209f","user":{"login":"lijinf2","id":3070944,"avatar_url":"https://avatars2.githubusercontent.com/u/3070944?v=4","gravatar_id":"","url":"https://api.github.com/users/lijinf2","html_url":"https://github.com/lijinf2","followers_url":"https://api.github.com/users/lijinf2/followers","following_url":"https://api.github.com/users/lijinf2/following{/other_user}","gists_url":"https://api.github.com/users/lijinf2/gists{/gist_id}","starred_url":"https://api.github.com/users/lijinf2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lijinf2/subscriptions","organizations_url":"https://api.github.com/users/lijinf2/orgs","repos_url":"https://api.github.com/users/lijinf2/repos","events_url":"https://api.github.com/users/lijinf2/events{/privacy}","received_events_url":"https://api.github.com/users/lijinf2/received_events","type":"User","site_admin":false},"body":"Remove this function, declare a lambda inside getKIdMaxIndegree instead","created_at":"2018-05-18T06:15:53Z","updated_at":"2018-05-18T06:15:53Z","html_url":"https://github.com/lijinf2/losha/pull/21#discussion_r189171752","pull_request_url":"https://api.github.com/repos/lijinf2/losha/pulls/21","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/lijinf2/losha/pulls/comments/189171752"},"html":{"href":"https://github.com/lijinf2/losha/pull/21#discussion_r189171752"},"pull_request":{"href":"https://api.github.com/repos/lijinf2/losha/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/lijinf2/losha/pulls/21","id":188924334,"html_url":"https://github.com/lijinf2/losha/pull/21","diff_url":"https://github.com/lijinf2/losha/pull/21.diff","patch_url":"https://github.com/lijinf2/losha/pull/21.patch","issue_url":"https://api.github.com/repos/lijinf2/losha/issues/21","number":21,"state":"open","locked":false,"title":"add topK aggregator","user":{"login":"Jerry-liujie","id":12427527,"avatar_url":"https://avatars3.githubusercontent.com/u/12427527?v=4","gravatar_id":"","url":"https://api.github.com/users/Jerry-liujie","html_url":"https://github.com/Jerry-liujie","followers_url":"https://api.github.com/users/Jerry-liujie/followers","following_url":"https://api.github.com/users/Jerry-liujie/following{/other_user}","gists_url":"https://api.github.com/users/Jerry-liujie/gists{/gist_id}","starred_url":"https://api.github.com/users/Jerry-liujie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jerry-liujie/subscriptions","organizations_url":"https://api.github.com/users/Jerry-liujie/orgs","repos_url":"https://api.github.com/users/Jerry-liujie/repos","events_url":"https://api.github.com/users/Jerry-liujie/events{/privacy}","received_events_url":"https://api.github.com/users/Jerry-liujie/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-18T05:22:34Z","updated_at":"2018-05-18T06:15:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbd565f0ae98c3908e5a1911e28b7669c16f834f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lijinf2/losha/pulls/21/commits","review_comments_url":"https://api.github.com/repos/lijinf2/losha/pulls/21/comments","review_comment_url":"https://api.github.com/repos/lijinf2/losha/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lijinf2/losha/issues/21/comments","statuses_url":"https://api.github.com/repos/lijinf2/losha/statuses/71061a0ff781df061fbc8a5ccf858f760c47209f","head":{"label":"Jerry-liujie:degp","ref":"degp","sha":"71061a0ff781df061fbc8a5ccf858f760c47209f","user":{"login":"Jerry-liujie","id":12427527,"avatar_url":"https://avatars3.githubusercontent.com/u/12427527?v=4","gravatar_id":"","url":"https://api.github.com/users/Jerry-liujie","html_url":"https://github.com/Jerry-liujie","followers_url":"https://api.github.com/users/Jerry-liujie/followers","following_url":"https://api.github.com/users/Jerry-liujie/following{/other_user}","gists_url":"https://api.github.com/users/Jerry-liujie/gists{/gist_id}","starred_url":"https://api.github.com/users/Jerry-liujie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jerry-liujie/subscriptions","organizations_url":"https://api.github.com/users/Jerry-liujie/orgs","repos_url":"https://api.github.com/users/Jerry-liujie/repos","events_url":"https://api.github.com/users/Jerry-liujie/events{/privacy}","received_events_url":"https://api.github.com/users/Jerry-liujie/received_events","type":"User","site_admin":false},"repo":{"id":118722268,"name":"losha-1","full_name":"Jerry-liujie/losha-1","owner":{"login":"Jerry-liujie","id":12427527,"avatar_url":"https://avatars3.githubusercontent.com/u/12427527?v=4","gravatar_id":"","url":"https://api.github.com/users/Jerry-liujie","html_url":"https://github.com/Jerry-liujie","followers_url":"https://api.github.com/users/Jerry-liujie/followers","following_url":"https://api.github.com/users/Jerry-liujie/following{/other_user}","gists_url":"https://api.github.com/users/Jerry-liujie/gists{/gist_id}","starred_url":"https://api.github.com/users/Jerry-liujie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jerry-liujie/subscriptions","organizations_url":"https://api.github.com/users/Jerry-liujie/orgs","repos_url":"https://api.github.com/users/Jerry-liujie/repos","events_url":"https://api.github.com/users/Jerry-liujie/events{/privacy}","received_events_url":"https://api.github.com/users/Jerry-liujie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jerry-liujie/losha-1","description":"Distributed similarity search","fork":true,"url":"https://api.github.com/repos/Jerry-liujie/losha-1","forks_url":"https://api.github.com/repos/Jerry-liujie/losha-1/forks","keys_url":"https://api.github.com/repos/Jerry-liujie/losha-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jerry-liujie/losha-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jerry-liujie/losha-1/teams","hooks_url":"https://api.github.com/repos/Jerry-liujie/losha-1/hooks","issue_events_url":"https://api.github.com/repos/Jerry-liujie/losha-1/issues/events{/number}","events_url":"https://api.github.com/repos/Jerry-liujie/losha-1/events","assignees_url":"https://api.github.com/repos/Jerry-liujie/losha-1/assignees{/user}","branches_url":"https://api.github.com/repos/Jerry-liujie/losha-1/branches{/branch}","tags_url":"https://api.github.com/repos/Jerry-liujie/losha-1/tags","blobs_url":"https://api.github.com/repos/Jerry-liujie/losha-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jerry-liujie/losha-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jerry-liujie/losha-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jerry-liujie/losha-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jerry-liujie/losha-1/statuses/{sha}","languages_url":"https://api.github.com/repos/Jerry-liujie/losha-1/languages","stargazers_url":"https://api.github.com/repos/Jerry-liujie/losha-1/stargazers","contributors_url":"https://api.github.com/repos/Jerry-liujie/losha-1/contributors","subscribers_url":"https://api.github.com/repos/Jerry-liujie/losha-1/subscribers","subscription_url":"https://api.github.com/repos/Jerry-liujie/losha-1/subscription","commits_url":"https://api.github.com/repos/Jerry-liujie/losha-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jerry-liujie/losha-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jerry-liujie/losha-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jerry-liujie/losha-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jerry-liujie/losha-1/contents/{+path}","compare_url":"https://api.github.com/repos/Jerry-liujie/losha-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jerry-liujie/losha-1/merges","archive_url":"https://api.github.com/repos/Jerry-liujie/losha-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jerry-liujie/losha-1/downloads","issues_url":"https://api.github.com/repos/Jerry-liujie/losha-1/issues{/number}","pulls_url":"https://api.github.com/repos/Jerry-liujie/losha-1/pulls{/number}","milestones_url":"https://api.github.com/repos/Jerry-liujie/losha-1/milestones{/number}","notifications_url":"https://api.github.com/repos/Jerry-liujie/losha-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jerry-liujie/losha-1/labels{/name}","releases_url":"https://api.github.com/repos/Jerry-liujie/losha-1/releases{/id}","deployments_url":"https://api.github.com/repos/Jerry-liujie/losha-1/deployments","created_at":"2018-01-24T06:24:29Z","updated_at":"2018-03-16T09:15:35Z","pushed_at":"2018-05-18T05:20:35Z","git_url":"git://github.com/Jerry-liujie/losha-1.git","ssh_url":"git@github.com:Jerry-liujie/losha-1.git","clone_url":"https://github.com/Jerry-liujie/losha-1.git","svn_url":"https://github.com/Jerry-liujie/losha-1","homepage":null,"size":38616,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lijinf2:degp","ref":"degp","sha":"44ffb506a49bcf35256893e8df05d8bfe7e561f0","user":{"login":"lijinf2","id":3070944,"avatar_url":"https://avatars2.githubusercontent.com/u/3070944?v=4","gravatar_id":"","url":"https://api.github.com/users/lijinf2","html_url":"https://github.com/lijinf2","followers_url":"https://api.github.com/users/lijinf2/followers","following_url":"https://api.github.com/users/lijinf2/following{/other_user}","gists_url":"https://api.github.com/users/lijinf2/gists{/gist_id}","starred_url":"https://api.github.com/users/lijinf2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lijinf2/subscriptions","organizations_url":"https://api.github.com/users/lijinf2/orgs","repos_url":"https://api.github.com/users/lijinf2/repos","events_url":"https://api.github.com/users/lijinf2/events{/privacy}","received_events_url":"https://api.github.com/users/lijinf2/received_events","type":"User","site_admin":false},"repo":{"id":82019035,"name":"losha","full_name":"lijinf2/losha","owner":{"login":"lijinf2","id":3070944,"avatar_url":"https://avatars2.githubusercontent.com/u/3070944?v=4","gravatar_id":"","url":"https://api.github.com/users/lijinf2","html_url":"https://github.com/lijinf2","followers_url":"https://api.github.com/users/lijinf2/followers","following_url":"https://api.github.com/users/lijinf2/following{/other_user}","gists_url":"https://api.github.com/users/lijinf2/gists{/gist_id}","starred_url":"https://api.github.com/users/lijinf2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lijinf2/subscriptions","organizations_url":"https://api.github.com/users/lijinf2/orgs","repos_url":"https://api.github.com/users/lijinf2/repos","events_url":"https://api.github.com/users/lijinf2/events{/privacy}","received_events_url":"https://api.github.com/users/lijinf2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lijinf2/losha","description":"Distributed similarity search","fork":false,"url":"https://api.github.com/repos/lijinf2/losha","forks_url":"https://api.github.com/repos/lijinf2/losha/forks","keys_url":"https://api.github.com/repos/lijinf2/losha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lijinf2/losha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lijinf2/losha/teams","hooks_url":"https://api.github.com/repos/lijinf2/losha/hooks","issue_events_url":"https://api.github.com/repos/lijinf2/losha/issues/events{/number}","events_url":"https://api.github.com/repos/lijinf2/losha/events","assignees_url":"https://api.github.com/repos/lijinf2/losha/assignees{/user}","branches_url":"https://api.github.com/repos/lijinf2/losha/branches{/branch}","tags_url":"https://api.github.com/repos/lijinf2/losha/tags","blobs_url":"https://api.github.com/repos/lijinf2/losha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lijinf2/losha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lijinf2/losha/git/refs{/sha}","trees_url":"https://api.github.com/repos/lijinf2/losha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lijinf2/losha/statuses/{sha}","languages_url":"https://api.github.com/repos/lijinf2/losha/languages","stargazers_url":"https://api.github.com/repos/lijinf2/losha/stargazers","contributors_url":"https://api.github.com/repos/lijinf2/losha/contributors","subscribers_url":"https://api.github.com/repos/lijinf2/losha/subscribers","subscription_url":"https://api.github.com/repos/lijinf2/losha/subscription","commits_url":"https://api.github.com/repos/lijinf2/losha/commits{/sha}","git_commits_url":"https://api.github.com/repos/lijinf2/losha/git/commits{/sha}","comments_url":"https://api.github.com/repos/lijinf2/losha/comments{/number}","issue_comment_url":"https://api.github.com/repos/lijinf2/losha/issues/comments{/number}","contents_url":"https://api.github.com/repos/lijinf2/losha/contents/{+path}","compare_url":"https://api.github.com/repos/lijinf2/losha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lijinf2/losha/merges","archive_url":"https://api.github.com/repos/lijinf2/losha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lijinf2/losha/downloads","issues_url":"https://api.github.com/repos/lijinf2/losha/issues{/number}","pulls_url":"https://api.github.com/repos/lijinf2/losha/pulls{/number}","milestones_url":"https://api.github.com/repos/lijinf2/losha/milestones{/number}","notifications_url":"https://api.github.com/repos/lijinf2/losha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lijinf2/losha/labels{/name}","releases_url":"https://api.github.com/repos/lijinf2/losha/releases{/id}","deployments_url":"https://api.github.com/repos/lijinf2/losha/deployments","created_at":"2017-02-15T04:07:28Z","updated_at":"2018-05-17T08:45:39Z","pushed_at":"2018-05-18T05:22:34Z","git_url":"git://github.com/lijinf2/losha.git","ssh_url":"git@github.com:lijinf2/losha.git","clone_url":"https://github.com/lijinf2/losha.git","svn_url":"https://github.com/lijinf2/losha","homepage":null,"size":42163,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":4,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lijinf2/losha/pulls/21"},"html":{"href":"https://github.com/lijinf2/losha/pull/21"},"issue":{"href":"https://api.github.com/repos/lijinf2/losha/issues/21"},"comments":{"href":"https://api.github.com/repos/lijinf2/losha/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/lijinf2/losha/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/lijinf2/losha/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lijinf2/losha/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/lijinf2/losha/statuses/71061a0ff781df061fbc8a5ccf858f760c47209f"}},"author_association":"NONE"}}
{"actor":{"display_login":"lijinf2"}}