{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/137520712","pull_request_review_id":61198404,"id":137520712,"diff_hunk":"@@ -2,20 +2,31 @@\n \n #include \"routing/routing_exceptions.hpp\"\n \n+#include <cstdint>\n+\n+namespace\n+{\n+using namespace std;\n+}  // namespace","path":"routing/index_road_graph.cpp","position":9,"original_position":9,"commit_id":"aa8997272e05867403787cd41c6dca9b6669ee49","original_commit_id":"aa8997272e05867403787cd41c6dca9b6669ee49","user":{"login":"bykoianko","id":1768114,"avatar_url":"https://avatars0.githubusercontent.com/u/1768114?v=4","gravatar_id":"","url":"https://api.github.com/users/bykoianko","html_url":"https://github.com/bykoianko","followers_url":"https://api.github.com/users/bykoianko/followers","following_url":"https://api.github.com/users/bykoianko/following{/other_user}","gists_url":"https://api.github.com/users/bykoianko/gists{/gist_id}","starred_url":"https://api.github.com/users/bykoianko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bykoianko/subscriptions","organizations_url":"https://api.github.com/users/bykoianko/orgs","repos_url":"https://api.github.com/users/bykoianko/repos","events_url":"https://api.github.com/users/bykoianko/events{/privacy}","received_events_url":"https://api.github.com/users/bykoianko/received_events","type":"User","site_admin":false},"body":" Можно просто `using namespace std;` без анонимного namespace","created_at":"2017-09-07T12:07:05Z","updated_at":"2017-09-07T12:07:05Z","html_url":"https://github.com/mapsme/omim/pull/7046#discussion_r137520712","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/7046","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/137520712"},"html":{"href":"https://github.com/mapsme/omim/pull/7046#discussion_r137520712"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/7046"}}},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/7046","id":139778854,"html_url":"https://github.com/mapsme/omim/pull/7046","diff_url":"https://github.com/mapsme/omim/pull/7046.diff","patch_url":"https://github.com/mapsme/omim/pull/7046.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/7046","number":7046,"state":"open","locked":false,"title":"Add fake route endings to IndexGraphStarter","user":{"login":"tatiana-kondakova","id":9213190,"avatar_url":"https://avatars3.githubusercontent.com/u/9213190?v=4","gravatar_id":"","url":"https://api.github.com/users/tatiana-kondakova","html_url":"https://github.com/tatiana-kondakova","followers_url":"https://api.github.com/users/tatiana-kondakova/followers","following_url":"https://api.github.com/users/tatiana-kondakova/following{/other_user}","gists_url":"https://api.github.com/users/tatiana-kondakova/gists{/gist_id}","starred_url":"https://api.github.com/users/tatiana-kondakova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatiana-kondakova/subscriptions","organizations_url":"https://api.github.com/users/tatiana-kondakova/orgs","repos_url":"https://api.github.com/users/tatiana-kondakova/repos","events_url":"https://api.github.com/users/tatiana-kondakova/events{/privacy}","received_events_url":"https://api.github.com/users/tatiana-kondakova/received_events","type":"User","site_admin":false},"body":"Добавила в IndexGraphStarter структуры для хранения фейковых графов. В данный момент хранятся только фейковые старт/финиш, фейковые ребра от старта/финиша до ближайшего сегмента и фейковые куски реальных сегментов, но структуры позволяют в дальнейшем добавить туда проекции на несколько реальных сегментов (и использовать это в A* для поиска лучшего пути), а также более сложные конфигурации дуг для обхода препятствий.\r\n\r\nПоскольку необходимо уметь собирать саброуты в единый маршрут, в котором будет информация обо всех фейковых дугах из саброутов, у IndexGraphStarter есть конструктор, принимающий на вход vector<IndexGraphStarter> и объединяющий их.\r\n\r\nТакже необходимо сохранять информацию о фейковых дугах (в том числе, достроенных для промежуточных точек) для последюущего использования в AdjustRoute, для этого сделан класс FakeEdgesContainer с перемещающим конструктором, принимающим IndexGraphStarter.","created_at":"2017-09-07T11:16:38Z","updated_at":"2017-09-07T12:07:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a6f5d969dd42f457d22bf2efa0f6b9a1b08d110","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/7046/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/7046/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/7046/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/aa8997272e05867403787cd41c6dca9b6669ee49","head":{"label":"tatiana-kondakova:route-endings","ref":"route-endings","sha":"aa8997272e05867403787cd41c6dca9b6669ee49","user":{"login":"tatiana-kondakova","id":9213190,"avatar_url":"https://avatars3.githubusercontent.com/u/9213190?v=4","gravatar_id":"","url":"https://api.github.com/users/tatiana-kondakova","html_url":"https://github.com/tatiana-kondakova","followers_url":"https://api.github.com/users/tatiana-kondakova/followers","following_url":"https://api.github.com/users/tatiana-kondakova/following{/other_user}","gists_url":"https://api.github.com/users/tatiana-kondakova/gists{/gist_id}","starred_url":"https://api.github.com/users/tatiana-kondakova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatiana-kondakova/subscriptions","organizations_url":"https://api.github.com/users/tatiana-kondakova/orgs","repos_url":"https://api.github.com/users/tatiana-kondakova/repos","events_url":"https://api.github.com/users/tatiana-kondakova/events{/privacy}","received_events_url":"https://api.github.com/users/tatiana-kondakova/received_events","type":"User","site_admin":false},"repo":{"id":98180090,"name":"omim","full_name":"tatiana-kondakova/omim","owner":{"login":"tatiana-kondakova","id":9213190,"avatar_url":"https://avatars3.githubusercontent.com/u/9213190?v=4","gravatar_id":"","url":"https://api.github.com/users/tatiana-kondakova","html_url":"https://github.com/tatiana-kondakova","followers_url":"https://api.github.com/users/tatiana-kondakova/followers","following_url":"https://api.github.com/users/tatiana-kondakova/following{/other_user}","gists_url":"https://api.github.com/users/tatiana-kondakova/gists{/gist_id}","starred_url":"https://api.github.com/users/tatiana-kondakova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatiana-kondakova/subscriptions","organizations_url":"https://api.github.com/users/tatiana-kondakova/orgs","repos_url":"https://api.github.com/users/tatiana-kondakova/repos","events_url":"https://api.github.com/users/tatiana-kondakova/events{/privacy}","received_events_url":"https://api.github.com/users/tatiana-kondakova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tatiana-kondakova/omim","description":"🗺️ MAPS.ME — Offline OpenStreetMap maps for iOS and Android","fork":true,"url":"https://api.github.com/repos/tatiana-kondakova/omim","forks_url":"https://api.github.com/repos/tatiana-kondakova/omim/forks","keys_url":"https://api.github.com/repos/tatiana-kondakova/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tatiana-kondakova/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tatiana-kondakova/omim/teams","hooks_url":"https://api.github.com/repos/tatiana-kondakova/omim/hooks","issue_events_url":"https://api.github.com/repos/tatiana-kondakova/omim/issues/events{/number}","events_url":"https://api.github.com/repos/tatiana-kondakova/omim/events","assignees_url":"https://api.github.com/repos/tatiana-kondakova/omim/assignees{/user}","branches_url":"https://api.github.com/repos/tatiana-kondakova/omim/branches{/branch}","tags_url":"https://api.github.com/repos/tatiana-kondakova/omim/tags","blobs_url":"https://api.github.com/repos/tatiana-kondakova/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tatiana-kondakova/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tatiana-kondakova/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/tatiana-kondakova/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tatiana-kondakova/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/tatiana-kondakova/omim/languages","stargazers_url":"https://api.github.com/repos/tatiana-kondakova/omim/stargazers","contributors_url":"https://api.github.com/repos/tatiana-kondakova/omim/contributors","subscribers_url":"https://api.github.com/repos/tatiana-kondakova/omim/subscribers","subscription_url":"https://api.github.com/repos/tatiana-kondakova/omim/subscription","commits_url":"https://api.github.com/repos/tatiana-kondakova/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/tatiana-kondakova/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/tatiana-kondakova/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/tatiana-kondakova/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/tatiana-kondakova/omim/contents/{+path}","compare_url":"https://api.github.com/repos/tatiana-kondakova/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tatiana-kondakova/omim/merges","archive_url":"https://api.github.com/repos/tatiana-kondakova/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tatiana-kondakova/omim/downloads","issues_url":"https://api.github.com/repos/tatiana-kondakova/omim/issues{/number}","pulls_url":"https://api.github.com/repos/tatiana-kondakova/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/tatiana-kondakova/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/tatiana-kondakova/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tatiana-kondakova/omim/labels{/name}","releases_url":"https://api.github.com/repos/tatiana-kondakova/omim/releases{/id}","deployments_url":"https://api.github.com/repos/tatiana-kondakova/omim/deployments","created_at":"2017-07-24T10:44:21Z","updated_at":"2017-07-24T10:45:30Z","pushed_at":"2017-09-07T11:02:56Z","git_url":"git://github.com/tatiana-kondakova/omim.git","ssh_url":"git@github.com:tatiana-kondakova/omim.git","clone_url":"https://github.com/tatiana-kondakova/omim.git","svn_url":"https://github.com/tatiana-kondakova/omim","homepage":"","size":3321186,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mapsme:master","ref":"master","sha":"5e3707e961be2138e86714c76dd5a652b95ae14b","user":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars1.githubusercontent.com/u/14185141?v=4","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"repo":{"id":42798033,"name":"omim","full_name":"mapsme/omim","owner":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars1.githubusercontent.com/u/14185141?v=4","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapsme/omim","description":"🗺️ MAPS.ME — Offline OpenStreetMap maps for iOS and Android","fork":false,"url":"https://api.github.com/repos/mapsme/omim","forks_url":"https://api.github.com/repos/mapsme/omim/forks","keys_url":"https://api.github.com/repos/mapsme/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapsme/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapsme/omim/teams","hooks_url":"https://api.github.com/repos/mapsme/omim/hooks","issue_events_url":"https://api.github.com/repos/mapsme/omim/issues/events{/number}","events_url":"https://api.github.com/repos/mapsme/omim/events","assignees_url":"https://api.github.com/repos/mapsme/omim/assignees{/user}","branches_url":"https://api.github.com/repos/mapsme/omim/branches{/branch}","tags_url":"https://api.github.com/repos/mapsme/omim/tags","blobs_url":"https://api.github.com/repos/mapsme/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapsme/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapsme/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapsme/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/mapsme/omim/languages","stargazers_url":"https://api.github.com/repos/mapsme/omim/stargazers","contributors_url":"https://api.github.com/repos/mapsme/omim/contributors","subscribers_url":"https://api.github.com/repos/mapsme/omim/subscribers","subscription_url":"https://api.github.com/repos/mapsme/omim/subscription","commits_url":"https://api.github.com/repos/mapsme/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapsme/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapsme/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapsme/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapsme/omim/contents/{+path}","compare_url":"https://api.github.com/repos/mapsme/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapsme/omim/merges","archive_url":"https://api.github.com/repos/mapsme/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapsme/omim/downloads","issues_url":"https://api.github.com/repos/mapsme/omim/issues{/number}","pulls_url":"https://api.github.com/repos/mapsme/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/mapsme/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/mapsme/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapsme/omim/labels{/name}","releases_url":"https://api.github.com/repos/mapsme/omim/releases{/id}","deployments_url":"https://api.github.com/repos/mapsme/omim/deployments","created_at":"2015-09-20T02:57:13Z","updated_at":"2017-09-06T18:14:25Z","pushed_at":"2017-09-07T11:27:48Z","git_url":"git://github.com/mapsme/omim.git","ssh_url":"git@github.com:mapsme/omim.git","clone_url":"https://github.com/mapsme/omim.git","svn_url":"https://github.com/mapsme/omim","homepage":"","size":3321745,"stargazers_count":2421,"watchers_count":2421,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":506,"mirror_url":null,"open_issues_count":547,"forks":506,"open_issues":547,"watchers":2421,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/7046"},"html":{"href":"https://github.com/mapsme/omim/pull/7046"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/7046"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/7046/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/7046/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/7046/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/aa8997272e05867403787cd41c6dca9b6669ee49"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"bykoianko"}}