{"action":"created","comment":{"url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/comments/140973351","pull_request_review_id":65118633,"id":140973351,"diff_hunk":"@@ -153,6 +152,38 @@ class KNN: AlgorithmBase{\n         return nextState\n     }\n     \n+    override func getCurrentRouteId(navigations: NavigationEntity, receivedBeaconsRssi : Dictionary<Int, Int>) -> Int {","path":"NavigationForiOS/KNN.swift","position":50,"original_position":50,"commit_id":"e7d83d99bfb95a9e883ba5730d17a54b6e9f441e","original_commit_id":"2b21013acf1470b97a3fce6a45c3ba73068a7a12","user":{"login":"Minajun","id":18542039,"avatar_url":"https://avatars0.githubusercontent.com/u/18542039?v=4","gravatar_id":"","url":"https://api.github.com/users/Minajun","html_url":"https://github.com/Minajun","followers_url":"https://api.github.com/users/Minajun/followers","following_url":"https://api.github.com/users/Minajun/following{/other_user}","gists_url":"https://api.github.com/users/Minajun/gists{/gist_id}","starred_url":"https://api.github.com/users/Minajun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minajun/subscriptions","organizations_url":"https://api.github.com/users/Minajun/orgs","repos_url":"https://api.github.com/users/Minajun/repos","events_url":"https://api.github.com/users/Minajun/events{/privacy}","received_events_url":"https://api.github.com/users/Minajun/received_events","type":"User","site_admin":false},"body":"Help実行時に呼ばれるようになっているよ","created_at":"2017-09-26T07:15:26Z","updated_at":"2017-09-26T07:15:26Z","html_url":"https://github.com/tsukuba-pbl/NavigationFor_iOS/pull/75#discussion_r140973351","pull_request_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/75","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/comments/140973351"},"html":{"href":"https://github.com/tsukuba-pbl/NavigationFor_iOS/pull/75#discussion_r140973351"},"pull_request":{"href":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/75"}},"in_reply_to_id":140968991},"pull_request":{"url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/75","id":143046678,"html_url":"https://github.com/tsukuba-pbl/NavigationFor_iOS/pull/75","diff_url":"https://github.com/tsukuba-pbl/NavigationFor_iOS/pull/75.diff","patch_url":"https://github.com/tsukuba-pbl/NavigationFor_iOS/pull/75.patch","issue_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/issues/75","number":75,"state":"open","locked":false,"title":"大体の現在地がわかる＆スタッフが呼べる","user":{"login":"Minajun","id":18542039,"avatar_url":"https://avatars0.githubusercontent.com/u/18542039?v=4","gravatar_id":"","url":"https://api.github.com/users/Minajun","html_url":"https://github.com/Minajun","followers_url":"https://api.github.com/users/Minajun/followers","following_url":"https://api.github.com/users/Minajun/following{/other_user}","gists_url":"https://api.github.com/users/Minajun/gists{/gist_id}","starred_url":"https://api.github.com/users/Minajun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minajun/subscriptions","organizations_url":"https://api.github.com/users/Minajun/orgs","repos_url":"https://api.github.com/users/Minajun/repos","events_url":"https://api.github.com/users/Minajun/events{/privacy}","received_events_url":"https://api.github.com/users/Minajun/received_events","type":"User","site_admin":false},"body":"## TASK\r\n- 現在地の取得と表示 \r\n- スタッフを呼ぶ機能の実装\r\n\r\n## DETAIL\r\n- kNNによって、現在位置を推定する\r\n- 「スタッフを呼ぶ」ボタンを押したら、Slackに通知する\r\n\r\n## TODO\r\n\r\n","created_at":"2017-09-26T06:19:31Z","updated_at":"2017-09-26T07:15:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bffcba03336911be94f406927b76987960bd1e2f","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/75/commits","review_comments_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/75/comments","review_comment_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/issues/75/comments","statuses_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/statuses/e7d83d99bfb95a9e883ba5730d17a54b6e9f441e","head":{"label":"tsukuba-pbl:refactor_knn","ref":"refactor_knn","sha":"e7d83d99bfb95a9e883ba5730d17a54b6e9f441e","user":{"login":"tsukuba-pbl","id":16605969,"avatar_url":"https://avatars0.githubusercontent.com/u/16605969?v=4","gravatar_id":"","url":"https://api.github.com/users/tsukuba-pbl","html_url":"https://github.com/tsukuba-pbl","followers_url":"https://api.github.com/users/tsukuba-pbl/followers","following_url":"https://api.github.com/users/tsukuba-pbl/following{/other_user}","gists_url":"https://api.github.com/users/tsukuba-pbl/gists{/gist_id}","starred_url":"https://api.github.com/users/tsukuba-pbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsukuba-pbl/subscriptions","organizations_url":"https://api.github.com/users/tsukuba-pbl/orgs","repos_url":"https://api.github.com/users/tsukuba-pbl/repos","events_url":"https://api.github.com/users/tsukuba-pbl/events{/privacy}","received_events_url":"https://api.github.com/users/tsukuba-pbl/received_events","type":"Organization","site_admin":false},"repo":{"id":99898899,"name":"NavigationFor_iOS","full_name":"tsukuba-pbl/NavigationFor_iOS","owner":{"login":"tsukuba-pbl","id":16605969,"avatar_url":"https://avatars0.githubusercontent.com/u/16605969?v=4","gravatar_id":"","url":"https://api.github.com/users/tsukuba-pbl","html_url":"https://github.com/tsukuba-pbl","followers_url":"https://api.github.com/users/tsukuba-pbl/followers","following_url":"https://api.github.com/users/tsukuba-pbl/following{/other_user}","gists_url":"https://api.github.com/users/tsukuba-pbl/gists{/gist_id}","starred_url":"https://api.github.com/users/tsukuba-pbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsukuba-pbl/subscriptions","organizations_url":"https://api.github.com/users/tsukuba-pbl/orgs","repos_url":"https://api.github.com/users/tsukuba-pbl/repos","events_url":"https://api.github.com/users/tsukuba-pbl/events{/privacy}","received_events_url":"https://api.github.com/users/tsukuba-pbl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tsukuba-pbl/NavigationFor_iOS","description":"チームUME SYSTEMSのiOSアプリケーション用リポジトリ","fork":false,"url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS","forks_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/forks","keys_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/teams","hooks_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/hooks","issue_events_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/issues/events{/number}","events_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/events","assignees_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/assignees{/user}","branches_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/branches{/branch}","tags_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/tags","blobs_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/languages","stargazers_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/stargazers","contributors_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/contributors","subscribers_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/subscribers","subscription_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/subscription","commits_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/contents/{+path}","compare_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/merges","archive_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/downloads","issues_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/issues{/number}","pulls_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/labels{/name}","releases_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/releases{/id}","deployments_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/deployments","created_at":"2017-08-10T08:17:04Z","updated_at":"2017-08-25T04:25:17Z","pushed_at":"2017-09-26T07:10:43Z","git_url":"git://github.com/tsukuba-pbl/NavigationFor_iOS.git","ssh_url":"git@github.com:tsukuba-pbl/NavigationFor_iOS.git","clone_url":"https://github.com/tsukuba-pbl/NavigationFor_iOS.git","svn_url":"https://github.com/tsukuba-pbl/NavigationFor_iOS","homepage":"","size":579,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"develop"}},"base":{"label":"tsukuba-pbl:develop","ref":"develop","sha":"9cd101aaac6d1a4a52e94151192eebb2b7140234","user":{"login":"tsukuba-pbl","id":16605969,"avatar_url":"https://avatars0.githubusercontent.com/u/16605969?v=4","gravatar_id":"","url":"https://api.github.com/users/tsukuba-pbl","html_url":"https://github.com/tsukuba-pbl","followers_url":"https://api.github.com/users/tsukuba-pbl/followers","following_url":"https://api.github.com/users/tsukuba-pbl/following{/other_user}","gists_url":"https://api.github.com/users/tsukuba-pbl/gists{/gist_id}","starred_url":"https://api.github.com/users/tsukuba-pbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsukuba-pbl/subscriptions","organizations_url":"https://api.github.com/users/tsukuba-pbl/orgs","repos_url":"https://api.github.com/users/tsukuba-pbl/repos","events_url":"https://api.github.com/users/tsukuba-pbl/events{/privacy}","received_events_url":"https://api.github.com/users/tsukuba-pbl/received_events","type":"Organization","site_admin":false},"repo":{"id":99898899,"name":"NavigationFor_iOS","full_name":"tsukuba-pbl/NavigationFor_iOS","owner":{"login":"tsukuba-pbl","id":16605969,"avatar_url":"https://avatars0.githubusercontent.com/u/16605969?v=4","gravatar_id":"","url":"https://api.github.com/users/tsukuba-pbl","html_url":"https://github.com/tsukuba-pbl","followers_url":"https://api.github.com/users/tsukuba-pbl/followers","following_url":"https://api.github.com/users/tsukuba-pbl/following{/other_user}","gists_url":"https://api.github.com/users/tsukuba-pbl/gists{/gist_id}","starred_url":"https://api.github.com/users/tsukuba-pbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsukuba-pbl/subscriptions","organizations_url":"https://api.github.com/users/tsukuba-pbl/orgs","repos_url":"https://api.github.com/users/tsukuba-pbl/repos","events_url":"https://api.github.com/users/tsukuba-pbl/events{/privacy}","received_events_url":"https://api.github.com/users/tsukuba-pbl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tsukuba-pbl/NavigationFor_iOS","description":"チームUME SYSTEMSのiOSアプリケーション用リポジトリ","fork":false,"url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS","forks_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/forks","keys_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/teams","hooks_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/hooks","issue_events_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/issues/events{/number}","events_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/events","assignees_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/assignees{/user}","branches_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/branches{/branch}","tags_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/tags","blobs_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/languages","stargazers_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/stargazers","contributors_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/contributors","subscribers_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/subscribers","subscription_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/subscription","commits_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/contents/{+path}","compare_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/merges","archive_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/downloads","issues_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/issues{/number}","pulls_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/labels{/name}","releases_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/releases{/id}","deployments_url":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/deployments","created_at":"2017-08-10T08:17:04Z","updated_at":"2017-08-25T04:25:17Z","pushed_at":"2017-09-26T07:10:43Z","git_url":"git://github.com/tsukuba-pbl/NavigationFor_iOS.git","ssh_url":"git@github.com:tsukuba-pbl/NavigationFor_iOS.git","clone_url":"https://github.com/tsukuba-pbl/NavigationFor_iOS.git","svn_url":"https://github.com/tsukuba-pbl/NavigationFor_iOS","homepage":"","size":579,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/75"},"html":{"href":"https://github.com/tsukuba-pbl/NavigationFor_iOS/pull/75"},"issue":{"href":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/issues/75"},"comments":{"href":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/tsukuba-pbl/NavigationFor_iOS/statuses/e7d83d99bfb95a9e883ba5730d17a54b6e9f441e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Minajun"}}