GitHub PullRequestReviewCommentEvent at 2014-11-29 15:34:42
Repository: 08_Graph_Lab
Actor: brinkmwj
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/comments/21054559","id":21054559,"diff_hunk":"@@ -6,22 +6,62 @@\n #include \"Graph.h\"\n \n Graph::Graph(unsigned int numNodes){\n-  //TODO\n+  adjList.resize(numNodes);\n }\n \n double Graph::getCost(int node1, int node2){\n-  //TODO\n+\t\n+\tfor (unsigned int i = 0; i < adjList[node1].edgeList.size(); i++){","path":"Graph.cpp","position":11,"original_position":11,"commit_id":"00cecc05879fe7ee489465d0235c672b90f2d7ad","original_commit_id":"00cecc05879fe7ee489465d0235c672b90f2d7ad","user":{"login":"brinkmwj","id":591376,"avatar_url":"https://avatars.githubusercontent.com/u/591376?v=3","gravatar_id":"","url":"https://api.github.com/users/brinkmwj","html_url":"https://github.com/brinkmwj","followers_url":"https://api.github.com/users/brinkmwj/followers","following_url":"https://api.github.com/users/brinkmwj/following{/other_user}","gists_url":"https://api.github.com/users/brinkmwj/gists{/gist_id}","starred_url":"https://api.github.com/users/brinkmwj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brinkmwj/subscriptions","organizations_url":"https://api.github.com/users/brinkmwj/orgs","repos_url":"https://api.github.com/users/brinkmwj/repos","events_url":"https://api.github.com/users/brinkmwj/events{/privacy}","received_events_url":"https://api.github.com/users/brinkmwj/received_events","type":"User","site_admin":false},"body":"You need to check node1 to make sure it isn't out of range (that is, if node1 >= adjList.size() you will have issues)","created_at":"2014-11-29T15:34:42Z","updated_at":"2014-11-29T15:34:42Z","html_url":"https://github.com/MiamiOH-CSE274/08_Graph_Lab/pull/28#discussion_r21054559","pull_request_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/comments/21054559"},"html":{"href":"https://github.com/MiamiOH-CSE274/08_Graph_Lab/pull/28#discussion_r21054559"},"pull_request":{"href":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/28","id":24623383,"html_url":"https://github.com/MiamiOH-CSE274/08_Graph_Lab/pull/28","diff_url":"https://github.com/MiamiOH-CSE274/08_Graph_Lab/pull/28.diff","patch_url":"https://github.com/MiamiOH-CSE274/08_Graph_Lab/pull/28.patch","issue_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/issues/28","number":28,"state":"open","locked":false,"title":"KyleRichardson_08_Graph_Lab","user":{"login":"richarkc","id":8559036,"avatar_url":"https://avatars.githubusercontent.com/u/8559036?v=3","gravatar_id":"","url":"https://api.github.com/users/richarkc","html_url":"https://github.com/richarkc","followers_url":"https://api.github.com/users/richarkc/followers","following_url":"https://api.github.com/users/richarkc/following{/other_user}","gists_url":"https://api.github.com/users/richarkc/gists{/gist_id}","starred_url":"https://api.github.com/users/richarkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richarkc/subscriptions","organizations_url":"https://api.github.com/users/richarkc/orgs","repos_url":"https://api.github.com/users/richarkc/repos","events_url":"https://api.github.com/users/richarkc/events{/privacy}","received_events_url":"https://api.github.com/users/richarkc/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-11-18T16:22:31Z","updated_at":"2014-11-29T15:34:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79af54d96f0fd40632853abfaaf1264af511c6c6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/28/commits","review_comments_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/28/comments","review_comment_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/comments/{number}","comments_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/issues/28/comments","statuses_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/statuses/00cecc05879fe7ee489465d0235c672b90f2d7ad","head":{"label":"richarkc:master","ref":"master","sha":"00cecc05879fe7ee489465d0235c672b90f2d7ad","user":{"login":"richarkc","id":8559036,"avatar_url":"https://avatars.githubusercontent.com/u/8559036?v=3","gravatar_id":"","url":"https://api.github.com/users/richarkc","html_url":"https://github.com/richarkc","followers_url":"https://api.github.com/users/richarkc/followers","following_url":"https://api.github.com/users/richarkc/following{/other_user}","gists_url":"https://api.github.com/users/richarkc/gists{/gist_id}","starred_url":"https://api.github.com/users/richarkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richarkc/subscriptions","organizations_url":"https://api.github.com/users/richarkc/orgs","repos_url":"https://api.github.com/users/richarkc/repos","events_url":"https://api.github.com/users/richarkc/events{/privacy}","received_events_url":"https://api.github.com/users/richarkc/received_events","type":"User","site_admin":false},"repo":{"id":26597253,"name":"08_Graph_Lab","full_name":"richarkc/08_Graph_Lab","owner":{"login":"richarkc","id":8559036,"avatar_url":"https://avatars.githubusercontent.com/u/8559036?v=3","gravatar_id":"","url":"https://api.github.com/users/richarkc","html_url":"https://github.com/richarkc","followers_url":"https://api.github.com/users/richarkc/followers","following_url":"https://api.github.com/users/richarkc/following{/other_user}","gists_url":"https://api.github.com/users/richarkc/gists{/gist_id}","starred_url":"https://api.github.com/users/richarkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richarkc/subscriptions","organizations_url":"https://api.github.com/users/richarkc/orgs","repos_url":"https://api.github.com/users/richarkc/repos","events_url":"https://api.github.com/users/richarkc/events{/privacy}","received_events_url":"https://api.github.com/users/richarkc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/richarkc/08_Graph_Lab","description":"Implement a simple graph class","fork":true,"url":"https://api.github.com/repos/richarkc/08_Graph_Lab","forks_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/forks","keys_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/teams","hooks_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/hooks","issue_events_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/issues/events{/number}","events_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/events","assignees_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/assignees{/user}","branches_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/branches{/branch}","tags_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/tags","blobs_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/statuses/{sha}","languages_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/languages","stargazers_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/stargazers","contributors_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/contributors","subscribers_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/subscribers","subscription_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/subscription","commits_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/issues/comments/{number}","contents_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/contents/{+path}","compare_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/merges","archive_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/downloads","issues_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/issues{/number}","pulls_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/pulls{/number}","milestones_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/milestones{/number}","notifications_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/labels{/name}","releases_url":"https://api.github.com/repos/richarkc/08_Graph_Lab/releases{/id}","created_at":"2014-11-13T16:41:05Z","updated_at":"2014-11-18T16:21:38Z","pushed_at":"2014-11-18T16:21:38Z","git_url":"git://github.com/richarkc/08_Graph_Lab.git","ssh_url":"git@github.com:richarkc/08_Graph_Lab.git","clone_url":"https://github.com/richarkc/08_Graph_Lab.git","svn_url":"https://github.com/richarkc/08_Graph_Lab","homepage":null,"size":6728,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MiamiOH-CSE274:master","ref":"master","sha":"efadfe9349e2cfbdb0caff60d0c4b4a4fa1877f5","user":{"login":"MiamiOH-CSE274","id":1835517,"avatar_url":"https://avatars.githubusercontent.com/u/1835517?v=3","gravatar_id":"","url":"https://api.github.com/users/MiamiOH-CSE274","html_url":"https://github.com/MiamiOH-CSE274","followers_url":"https://api.github.com/users/MiamiOH-CSE274/followers","following_url":"https://api.github.com/users/MiamiOH-CSE274/following{/other_user}","gists_url":"https://api.github.com/users/MiamiOH-CSE274/gists{/gist_id}","starred_url":"https://api.github.com/users/MiamiOH-CSE274/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiamiOH-CSE274/subscriptions","organizations_url":"https://api.github.com/users/MiamiOH-CSE274/orgs","repos_url":"https://api.github.com/users/MiamiOH-CSE274/repos","events_url":"https://api.github.com/users/MiamiOH-CSE274/events{/privacy}","received_events_url":"https://api.github.com/users/MiamiOH-CSE274/received_events","type":"Organization","site_admin":false},"repo":{"id":13287115,"name":"08_Graph_Lab","full_name":"MiamiOH-CSE274/08_Graph_Lab","owner":{"login":"MiamiOH-CSE274","id":1835517,"avatar_url":"https://avatars.githubusercontent.com/u/1835517?v=3","gravatar_id":"","url":"https://api.github.com/users/MiamiOH-CSE274","html_url":"https://github.com/MiamiOH-CSE274","followers_url":"https://api.github.com/users/MiamiOH-CSE274/followers","following_url":"https://api.github.com/users/MiamiOH-CSE274/following{/other_user}","gists_url":"https://api.github.com/users/MiamiOH-CSE274/gists{/gist_id}","starred_url":"https://api.github.com/users/MiamiOH-CSE274/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiamiOH-CSE274/subscriptions","organizations_url":"https://api.github.com/users/MiamiOH-CSE274/orgs","repos_url":"https://api.github.com/users/MiamiOH-CSE274/repos","events_url":"https://api.github.com/users/MiamiOH-CSE274/events{/privacy}","received_events_url":"https://api.github.com/users/MiamiOH-CSE274/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MiamiOH-CSE274/08_Graph_Lab","description":"Implement a simple graph class","fork":false,"url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab","forks_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/forks","keys_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/teams","hooks_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/hooks","issue_events_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/issues/events{/number}","events_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/events","assignees_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/assignees{/user}","branches_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/branches{/branch}","tags_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/tags","blobs_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/statuses/{sha}","languages_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/languages","stargazers_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/stargazers","contributors_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/contributors","subscribers_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/subscribers","subscription_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/subscription","commits_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/issues/comments/{number}","contents_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/contents/{+path}","compare_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/merges","archive_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/downloads","issues_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/issues{/number}","pulls_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls{/number}","milestones_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/milestones{/number}","notifications_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/labels{/name}","releases_url":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/releases{/id}","created_at":"2013-10-03T00:51:17Z","updated_at":"2014-11-13T16:41:34Z","pushed_at":"2014-11-13T16:42:03Z","git_url":"git://github.com/MiamiOH-CSE274/08_Graph_Lab.git","ssh_url":"git@github.com:MiamiOH-CSE274/08_Graph_Lab.git","clone_url":"https://github.com/MiamiOH-CSE274/08_Graph_Lab.git","svn_url":"https://github.com/MiamiOH-CSE274/08_Graph_Lab","homepage":null,"size":6960,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":18,"forks":41,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/28"},"html":{"href":"https://github.com/MiamiOH-CSE274/08_Graph_Lab/pull/28"},"issue":{"href":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/issues/28"},"comments":{"href":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/MiamiOH-CSE274/08_Graph_Lab/statuses/00cecc05879fe7ee489465d0235c672b90f2d7ad"}}}}