{"action":"created","comment":{"url":"https://api.github.com/repos/gonum/gonum/pulls/comments/203666748","pull_request_review_id":138597874,"id":203666748,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzY2Njc0OA==","diff_hunk":"@@ -5,32 +5,81 @@\n package path\n \n import (\n+\t\"math\"\n+\t\"reflect\"\n \t\"testing\"\n \n-\t\"gonum.org/v1/gonum/graph/path/internal/testgraphs\"\n \t\"gonum.org/v1/gonum/graph\"\n+\t\"gonum.org/v1/gonum/graph/simple\"\n )\n \n \n+var YenShortestPathTests = []struct {\n+\tName              string\n+\tGraph             func() graph.WeightedEdgeAdder\n+\tEdges             []simple.WeightedEdge\n+\n+\tQuery         simple.Edge","path":"graph/path/yen_ksp_test.go","position":22,"original_position":19,"commit_id":"1bcebb7804658fe684bf1458123295182ab859e6","original_commit_id":"1bcebb7804658fe684bf1458123295182ab859e6","user":{"login":"kortschak","id":275221,"node_id":"MDQ6VXNlcjI3NTIyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/275221?v=4","gravatar_id":"","url":"https://api.github.com/users/kortschak","html_url":"https://github.com/kortschak","followers_url":"https://api.github.com/users/kortschak/followers","following_url":"https://api.github.com/users/kortschak/following{/other_user}","gists_url":"https://api.github.com/users/kortschak/gists{/gist_id}","starred_url":"https://api.github.com/users/kortschak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kortschak/subscriptions","organizations_url":"https://api.github.com/users/kortschak/orgs","repos_url":"https://api.github.com/users/kortschak/repos","events_url":"https://api.github.com/users/kortschak/events{/privacy}","received_events_url":"https://api.github.com/users/kortschak/received_events","type":"User","site_admin":false},"body":"Please gofmt your code.","created_at":"2018-07-19T09:53:46Z","updated_at":"2018-07-19T09:53:51Z","html_url":"https://github.com/gonum/gonum/pull/525#discussion_r203666748","pull_request_url":"https://api.github.com/repos/gonum/gonum/pulls/525","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/gonum/gonum/pulls/comments/203666748"},"html":{"href":"https://github.com/gonum/gonum/pull/525#discussion_r203666748"},"pull_request":{"href":"https://api.github.com/repos/gonum/gonum/pulls/525"}}},"pull_request":{"url":"https://api.github.com/repos/gonum/gonum/pulls/525","id":193512195,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNTEyMTk1","html_url":"https://github.com/gonum/gonum/pull/525","diff_url":"https://github.com/gonum/gonum/pull/525.diff","patch_url":"https://github.com/gonum/gonum/pull/525.patch","issue_url":"https://api.github.com/repos/gonum/gonum/issues/525","number":525,"state":"open","locked":false,"title":"graph/path: Yens KSP algorithm in graph/path [WIP] (Work In Progress)","user":{"login":"apache8080","id":5409166,"node_id":"MDQ6VXNlcjU0MDkxNjY=","avatar_url":"https://avatars1.githubusercontent.com/u/5409166?v=4","gravatar_id":"","url":"https://api.github.com/users/apache8080","html_url":"https://github.com/apache8080","followers_url":"https://api.github.com/users/apache8080/followers","following_url":"https://api.github.com/users/apache8080/following{/other_user}","gists_url":"https://api.github.com/users/apache8080/gists{/gist_id}","starred_url":"https://api.github.com/users/apache8080/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache8080/subscriptions","organizations_url":"https://api.github.com/users/apache8080/orgs","repos_url":"https://api.github.com/users/apache8080/repos","events_url":"https://api.github.com/users/apache8080/events{/privacy}","received_events_url":"https://api.github.com/users/apache8080/received_events","type":"User","site_admin":false},"body":"This PR addresses issue #474. Currently it has my initial attempt at implementing Yen's algorithm for k-shortest path. I still need to add test cases but I wanted to get some initial feedback on my current progress.\r\n\r\n<!--\r\nChecklist:\r\n\r\n- API changes have been discussed\r\n- code is goformated correctly (goimports)\r\n- packages with generated code have had code generation run\r\n- tests pass locally\r\n- linked to relevant issues\r\n\r\nPlease make sure your commit message summary line and pull request\r\ntitle match the Go convention; a one-line summary of the change,\r\nprefixed by the primary affected package that should complete the\r\nsentence, \"This change modifies Gonum to _____.\"\r\n-->\r\n","created_at":"2018-06-08T05:28:04Z","updated_at":"2018-07-19T09:53:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a88b0606182e7f91962163ba44b03d3ec79cc7a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gonum/gonum/pulls/525/commits","review_comments_url":"https://api.github.com/repos/gonum/gonum/pulls/525/comments","review_comment_url":"https://api.github.com/repos/gonum/gonum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gonum/gonum/issues/525/comments","statuses_url":"https://api.github.com/repos/gonum/gonum/statuses/1bcebb7804658fe684bf1458123295182ab859e6","head":{"label":"apache8080:master","ref":"master","sha":"1bcebb7804658fe684bf1458123295182ab859e6","user":{"login":"apache8080","id":5409166,"node_id":"MDQ6VXNlcjU0MDkxNjY=","avatar_url":"https://avatars1.githubusercontent.com/u/5409166?v=4","gravatar_id":"","url":"https://api.github.com/users/apache8080","html_url":"https://github.com/apache8080","followers_url":"https://api.github.com/users/apache8080/followers","following_url":"https://api.github.com/users/apache8080/following{/other_user}","gists_url":"https://api.github.com/users/apache8080/gists{/gist_id}","starred_url":"https://api.github.com/users/apache8080/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache8080/subscriptions","organizations_url":"https://api.github.com/users/apache8080/orgs","repos_url":"https://api.github.com/users/apache8080/repos","events_url":"https://api.github.com/users/apache8080/events{/privacy}","received_events_url":"https://api.github.com/users/apache8080/received_events","type":"User","site_admin":false},"repo":{"id":135338867,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUzMzg4Njc=","name":"gonum","full_name":"apache8080/gonum","owner":{"login":"apache8080","id":5409166,"node_id":"MDQ6VXNlcjU0MDkxNjY=","avatar_url":"https://avatars1.githubusercontent.com/u/5409166?v=4","gravatar_id":"","url":"https://api.github.com/users/apache8080","html_url":"https://github.com/apache8080","followers_url":"https://api.github.com/users/apache8080/followers","following_url":"https://api.github.com/users/apache8080/following{/other_user}","gists_url":"https://api.github.com/users/apache8080/gists{/gist_id}","starred_url":"https://api.github.com/users/apache8080/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache8080/subscriptions","organizations_url":"https://api.github.com/users/apache8080/orgs","repos_url":"https://api.github.com/users/apache8080/repos","events_url":"https://api.github.com/users/apache8080/events{/privacy}","received_events_url":"https://api.github.com/users/apache8080/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apache8080/gonum","description":"Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more","fork":true,"url":"https://api.github.com/repos/apache8080/gonum","forks_url":"https://api.github.com/repos/apache8080/gonum/forks","keys_url":"https://api.github.com/repos/apache8080/gonum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache8080/gonum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache8080/gonum/teams","hooks_url":"https://api.github.com/repos/apache8080/gonum/hooks","issue_events_url":"https://api.github.com/repos/apache8080/gonum/issues/events{/number}","events_url":"https://api.github.com/repos/apache8080/gonum/events","assignees_url":"https://api.github.com/repos/apache8080/gonum/assignees{/user}","branches_url":"https://api.github.com/repos/apache8080/gonum/branches{/branch}","tags_url":"https://api.github.com/repos/apache8080/gonum/tags","blobs_url":"https://api.github.com/repos/apache8080/gonum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache8080/gonum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache8080/gonum/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache8080/gonum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache8080/gonum/statuses/{sha}","languages_url":"https://api.github.com/repos/apache8080/gonum/languages","stargazers_url":"https://api.github.com/repos/apache8080/gonum/stargazers","contributors_url":"https://api.github.com/repos/apache8080/gonum/contributors","subscribers_url":"https://api.github.com/repos/apache8080/gonum/subscribers","subscription_url":"https://api.github.com/repos/apache8080/gonum/subscription","commits_url":"https://api.github.com/repos/apache8080/gonum/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache8080/gonum/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache8080/gonum/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache8080/gonum/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache8080/gonum/contents/{+path}","compare_url":"https://api.github.com/repos/apache8080/gonum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache8080/gonum/merges","archive_url":"https://api.github.com/repos/apache8080/gonum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache8080/gonum/downloads","issues_url":"https://api.github.com/repos/apache8080/gonum/issues{/number}","pulls_url":"https://api.github.com/repos/apache8080/gonum/pulls{/number}","milestones_url":"https://api.github.com/repos/apache8080/gonum/milestones{/number}","notifications_url":"https://api.github.com/repos/apache8080/gonum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache8080/gonum/labels{/name}","releases_url":"https://api.github.com/repos/apache8080/gonum/releases{/id}","deployments_url":"https://api.github.com/repos/apache8080/gonum/deployments","created_at":"2018-05-29T18:44:11Z","updated_at":"2018-07-19T05:32:32Z","pushed_at":"2018-07-19T05:32:30Z","git_url":"git://github.com/apache8080/gonum.git","ssh_url":"git@github.com:apache8080/gonum.git","clone_url":"https://github.com/apache8080/gonum.git","svn_url":"https://github.com/apache8080/gonum","homepage":"https://www.gonum.org/","size":10955,"stargazers_count":0,"watchers_count":0,"language":"Go","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":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gonum:master","ref":"master","sha":"a63e6adee3cef2e8bf33cd17542e8eb066a238a8","user":{"login":"gonum","id":3771091,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3NzEwOTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3771091?v=4","gravatar_id":"","url":"https://api.github.com/users/gonum","html_url":"https://github.com/gonum","followers_url":"https://api.github.com/users/gonum/followers","following_url":"https://api.github.com/users/gonum/following{/other_user}","gists_url":"https://api.github.com/users/gonum/gists{/gist_id}","starred_url":"https://api.github.com/users/gonum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonum/subscriptions","organizations_url":"https://api.github.com/users/gonum/orgs","repos_url":"https://api.github.com/users/gonum/repos","events_url":"https://api.github.com/users/gonum/events{/privacy}","received_events_url":"https://api.github.com/users/gonum/received_events","type":"Organization","site_admin":false},"repo":{"id":86164982,"node_id":"MDEwOlJlcG9zaXRvcnk4NjE2NDk4Mg==","name":"gonum","full_name":"gonum/gonum","owner":{"login":"gonum","id":3771091,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3NzEwOTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3771091?v=4","gravatar_id":"","url":"https://api.github.com/users/gonum","html_url":"https://github.com/gonum","followers_url":"https://api.github.com/users/gonum/followers","following_url":"https://api.github.com/users/gonum/following{/other_user}","gists_url":"https://api.github.com/users/gonum/gists{/gist_id}","starred_url":"https://api.github.com/users/gonum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonum/subscriptions","organizations_url":"https://api.github.com/users/gonum/orgs","repos_url":"https://api.github.com/users/gonum/repos","events_url":"https://api.github.com/users/gonum/events{/privacy}","received_events_url":"https://api.github.com/users/gonum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gonum/gonum","description":"Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more","fork":false,"url":"https://api.github.com/repos/gonum/gonum","forks_url":"https://api.github.com/repos/gonum/gonum/forks","keys_url":"https://api.github.com/repos/gonum/gonum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gonum/gonum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gonum/gonum/teams","hooks_url":"https://api.github.com/repos/gonum/gonum/hooks","issue_events_url":"https://api.github.com/repos/gonum/gonum/issues/events{/number}","events_url":"https://api.github.com/repos/gonum/gonum/events","assignees_url":"https://api.github.com/repos/gonum/gonum/assignees{/user}","branches_url":"https://api.github.com/repos/gonum/gonum/branches{/branch}","tags_url":"https://api.github.com/repos/gonum/gonum/tags","blobs_url":"https://api.github.com/repos/gonum/gonum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gonum/gonum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gonum/gonum/git/refs{/sha}","trees_url":"https://api.github.com/repos/gonum/gonum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gonum/gonum/statuses/{sha}","languages_url":"https://api.github.com/repos/gonum/gonum/languages","stargazers_url":"https://api.github.com/repos/gonum/gonum/stargazers","contributors_url":"https://api.github.com/repos/gonum/gonum/contributors","subscribers_url":"https://api.github.com/repos/gonum/gonum/subscribers","subscription_url":"https://api.github.com/repos/gonum/gonum/subscription","commits_url":"https://api.github.com/repos/gonum/gonum/commits{/sha}","git_commits_url":"https://api.github.com/repos/gonum/gonum/git/commits{/sha}","comments_url":"https://api.github.com/repos/gonum/gonum/comments{/number}","issue_comment_url":"https://api.github.com/repos/gonum/gonum/issues/comments{/number}","contents_url":"https://api.github.com/repos/gonum/gonum/contents/{+path}","compare_url":"https://api.github.com/repos/gonum/gonum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gonum/gonum/merges","archive_url":"https://api.github.com/repos/gonum/gonum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gonum/gonum/downloads","issues_url":"https://api.github.com/repos/gonum/gonum/issues{/number}","pulls_url":"https://api.github.com/repos/gonum/gonum/pulls{/number}","milestones_url":"https://api.github.com/repos/gonum/gonum/milestones{/number}","notifications_url":"https://api.github.com/repos/gonum/gonum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gonum/gonum/labels{/name}","releases_url":"https://api.github.com/repos/gonum/gonum/releases{/id}","deployments_url":"https://api.github.com/repos/gonum/gonum/deployments","created_at":"2017-03-25T14:54:38Z","updated_at":"2018-07-18T23:33:03Z","pushed_at":"2018-07-19T05:32:32Z","git_url":"git://github.com/gonum/gonum.git","ssh_url":"git@github.com:gonum/gonum.git","clone_url":"https://github.com/gonum/gonum.git","svn_url":"https://github.com/gonum/gonum","homepage":"https://www.gonum.org/","size":11046,"stargazers_count":1842,"watchers_count":1842,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":123,"mirror_url":null,"archived":false,"open_issues_count":98,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":123,"open_issues":98,"watchers":1842,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gonum/gonum/pulls/525"},"html":{"href":"https://github.com/gonum/gonum/pull/525"},"issue":{"href":"https://api.github.com/repos/gonum/gonum/issues/525"},"comments":{"href":"https://api.github.com/repos/gonum/gonum/issues/525/comments"},"review_comments":{"href":"https://api.github.com/repos/gonum/gonum/pulls/525/comments"},"review_comment":{"href":"https://api.github.com/repos/gonum/gonum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gonum/gonum/pulls/525/commits"},"statuses":{"href":"https://api.github.com/repos/gonum/gonum/statuses/1bcebb7804658fe684bf1458123295182ab859e6"}},"author_association":"NONE"}}
{"actor":{"display_login":"kortschak"}}