{"action":"created","comment":{"url":"https://api.github.com/repos/CanalTP/navitia/pulls/comments/25673411","id":25673411,"diff_hunk":"@@ -115,6 +121,60 @@ struct Journey {\n             }\n         }\n     }\n+    std::pair<const type::StopTime*, DateTime>\n+    get_out_st_dt(const std::pair<const type::StopTime*, DateTime>& in_st_dt,\n+                  const type::JourneyPatternPoint*const target_jpp) const\n+    {\n+        DateTime cur_dt = in_st_dt.second;\n+        for (const auto& st: raptor_visitor().st_range(*in_st_dt.first).advance_begin(1)) {\n+            const auto current_time = st.section_end_time(true, DateTimeUtils::hour(cur_dt));\n+            DateTimeUtils::update(cur_dt, current_time, true);\n+            if (st.journey_pattern_point == target_jpp) {\n+                // check if the get_out is valid?\n+                return {&st, cur_dt};\n+            }\n+        }\n+        for (const auto* stay_in_vj = in_st_dt.first->vehicle_journey->next_vj;\n+             stay_in_vj != nullptr;\n+             stay_in_vj = stay_in_vj->next_vj) {\n+            for (const auto& st: stay_in_vj->stop_time_list) {\n+                const auto current_time = st.section_end_time(true, DateTimeUtils::hour(cur_dt));\n+                DateTimeUtils::update(cur_dt, current_time, true);\n+                if (st.journey_pattern_point == target_jpp) {\n+                    // check if the get_out is valid?\n+                    return {&st, cur_dt};\n+                }\n+            }\n+        }\n+        assert(false);\n+        return {nullptr, 0};\n+    }\n+    template<typename Visitor>\n+    void align_left(const RaptorSolutionReader<Visitor>& reader) {\n+        if (sections.size() < 3) { return; }","path":"source/routing/raptor_solution_reader.cpp","position":49,"original_position":49,"commit_id":"eaff06bec60b0f0f8e7fda554be74a17cdfa8e0d","original_commit_id":"eaff06bec60b0f0f8e7fda554be74a17cdfa8e0d","user":{"login":"l-vincent-l","id":2757318,"avatar_url":"https://avatars.githubusercontent.com/u/2757318?v=3","gravatar_id":"","url":"https://api.github.com/users/l-vincent-l","html_url":"https://github.com/l-vincent-l","followers_url":"https://api.github.com/users/l-vincent-l/followers","following_url":"https://api.github.com/users/l-vincent-l/following{/other_user}","gists_url":"https://api.github.com/users/l-vincent-l/gists{/gist_id}","starred_url":"https://api.github.com/users/l-vincent-l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l-vincent-l/subscriptions","organizations_url":"https://api.github.com/users/l-vincent-l/orgs","repos_url":"https://api.github.com/users/l-vincent-l/repos","events_url":"https://api.github.com/users/l-vincent-l/events{/privacy}","received_events_url":"https://api.github.com/users/l-vincent-l/received_events","type":"User","site_admin":false},"body":"Here too.","created_at":"2015-03-03T09:38:14Z","updated_at":"2015-03-03T09:38:14Z","html_url":"https://github.com/CanalTP/navitia/pull/919#discussion_r25673411","pull_request_url":"https://api.github.com/repos/CanalTP/navitia/pulls/919","_links":{"self":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/comments/25673411"},"html":{"href":"https://github.com/CanalTP/navitia/pull/919#discussion_r25673411"},"pull_request":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/919"}}},"pull_request":{"url":"https://api.github.com/repos/CanalTP/navitia/pulls/919","id":30302715,"html_url":"https://github.com/CanalTP/navitia/pull/919","diff_url":"https://github.com/CanalTP/navitia/pull/919.diff","patch_url":"https://github.com/CanalTP/navitia/pull/919.patch","issue_url":"https://api.github.com/repos/CanalTP/navitia/issues/919","number":919,"state":"open","locked":false,"title":"raptor solution reader: 3rd pass","user":{"login":"TeXitoi","id":5787066,"avatar_url":"https://avatars.githubusercontent.com/u/5787066?v=3","gravatar_id":"","url":"https://api.github.com/users/TeXitoi","html_url":"https://github.com/TeXitoi","followers_url":"https://api.github.com/users/TeXitoi/followers","following_url":"https://api.github.com/users/TeXitoi/following{/other_user}","gists_url":"https://api.github.com/users/TeXitoi/gists{/gist_id}","starred_url":"https://api.github.com/users/TeXitoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeXitoi/subscriptions","organizations_url":"https://api.github.com/users/TeXitoi/orgs","repos_url":"https://api.github.com/users/TeXitoi/repos","events_url":"https://api.github.com/users/TeXitoi/events{/privacy}","received_events_url":"https://api.github.com/users/TeXitoi/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-02T17:30:21Z","updated_at":"2015-03-03T09:38:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff774acb4c3c49503d358587554bd40b4f8029c8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CanalTP/navitia/pulls/919/commits","review_comments_url":"https://api.github.com/repos/CanalTP/navitia/pulls/919/comments","review_comment_url":"https://api.github.com/repos/CanalTP/navitia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CanalTP/navitia/issues/919/comments","statuses_url":"https://api.github.com/repos/CanalTP/navitia/statuses/eaff06bec60b0f0f8e7fda554be74a17cdfa8e0d","head":{"label":"TeXitoi:third-pass","ref":"third-pass","sha":"eaff06bec60b0f0f8e7fda554be74a17cdfa8e0d","user":{"login":"TeXitoi","id":5787066,"avatar_url":"https://avatars.githubusercontent.com/u/5787066?v=3","gravatar_id":"","url":"https://api.github.com/users/TeXitoi","html_url":"https://github.com/TeXitoi","followers_url":"https://api.github.com/users/TeXitoi/followers","following_url":"https://api.github.com/users/TeXitoi/following{/other_user}","gists_url":"https://api.github.com/users/TeXitoi/gists{/gist_id}","starred_url":"https://api.github.com/users/TeXitoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeXitoi/subscriptions","organizations_url":"https://api.github.com/users/TeXitoi/orgs","repos_url":"https://api.github.com/users/TeXitoi/repos","events_url":"https://api.github.com/users/TeXitoi/events{/privacy}","received_events_url":"https://api.github.com/users/TeXitoi/received_events","type":"User","site_admin":false},"repo":{"id":23435249,"name":"navitia","full_name":"TeXitoi/navitia","owner":{"login":"TeXitoi","id":5787066,"avatar_url":"https://avatars.githubusercontent.com/u/5787066?v=3","gravatar_id":"","url":"https://api.github.com/users/TeXitoi","html_url":"https://github.com/TeXitoi","followers_url":"https://api.github.com/users/TeXitoi/followers","following_url":"https://api.github.com/users/TeXitoi/following{/other_user}","gists_url":"https://api.github.com/users/TeXitoi/gists{/gist_id}","starred_url":"https://api.github.com/users/TeXitoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeXitoi/subscriptions","organizations_url":"https://api.github.com/users/TeXitoi/orgs","repos_url":"https://api.github.com/users/TeXitoi/repos","events_url":"https://api.github.com/users/TeXitoi/events{/privacy}","received_events_url":"https://api.github.com/users/TeXitoi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TeXitoi/navitia","description":"The REST API to build cool stuff with public transport","fork":true,"url":"https://api.github.com/repos/TeXitoi/navitia","forks_url":"https://api.github.com/repos/TeXitoi/navitia/forks","keys_url":"https://api.github.com/repos/TeXitoi/navitia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TeXitoi/navitia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TeXitoi/navitia/teams","hooks_url":"https://api.github.com/repos/TeXitoi/navitia/hooks","issue_events_url":"https://api.github.com/repos/TeXitoi/navitia/issues/events{/number}","events_url":"https://api.github.com/repos/TeXitoi/navitia/events","assignees_url":"https://api.github.com/repos/TeXitoi/navitia/assignees{/user}","branches_url":"https://api.github.com/repos/TeXitoi/navitia/branches{/branch}","tags_url":"https://api.github.com/repos/TeXitoi/navitia/tags","blobs_url":"https://api.github.com/repos/TeXitoi/navitia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TeXitoi/navitia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TeXitoi/navitia/git/refs{/sha}","trees_url":"https://api.github.com/repos/TeXitoi/navitia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TeXitoi/navitia/statuses/{sha}","languages_url":"https://api.github.com/repos/TeXitoi/navitia/languages","stargazers_url":"https://api.github.com/repos/TeXitoi/navitia/stargazers","contributors_url":"https://api.github.com/repos/TeXitoi/navitia/contributors","subscribers_url":"https://api.github.com/repos/TeXitoi/navitia/subscribers","subscription_url":"https://api.github.com/repos/TeXitoi/navitia/subscription","commits_url":"https://api.github.com/repos/TeXitoi/navitia/commits{/sha}","git_commits_url":"https://api.github.com/repos/TeXitoi/navitia/git/commits{/sha}","comments_url":"https://api.github.com/repos/TeXitoi/navitia/comments{/number}","issue_comment_url":"https://api.github.com/repos/TeXitoi/navitia/issues/comments{/number}","contents_url":"https://api.github.com/repos/TeXitoi/navitia/contents/{+path}","compare_url":"https://api.github.com/repos/TeXitoi/navitia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TeXitoi/navitia/merges","archive_url":"https://api.github.com/repos/TeXitoi/navitia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TeXitoi/navitia/downloads","issues_url":"https://api.github.com/repos/TeXitoi/navitia/issues{/number}","pulls_url":"https://api.github.com/repos/TeXitoi/navitia/pulls{/number}","milestones_url":"https://api.github.com/repos/TeXitoi/navitia/milestones{/number}","notifications_url":"https://api.github.com/repos/TeXitoi/navitia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TeXitoi/navitia/labels{/name}","releases_url":"https://api.github.com/repos/TeXitoi/navitia/releases{/id}","created_at":"2014-08-28T16:35:05Z","updated_at":"2014-09-09T14:32:07Z","pushed_at":"2015-03-02T17:50:22Z","git_url":"git://github.com/TeXitoi/navitia.git","ssh_url":"git@github.com:TeXitoi/navitia.git","clone_url":"https://github.com/TeXitoi/navitia.git","svn_url":"https://github.com/TeXitoi/navitia","homepage":"http://www.navitia.io","size":23388,"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":"dev"}},"base":{"label":"CanalTP:raptor-solution-reader","ref":"raptor-solution-reader","sha":"167b81bc3436341eba6f87181d8fb1da0457b0d5","user":{"login":"CanalTP","id":2743985,"avatar_url":"https://avatars.githubusercontent.com/u/2743985?v=3","gravatar_id":"","url":"https://api.github.com/users/CanalTP","html_url":"https://github.com/CanalTP","followers_url":"https://api.github.com/users/CanalTP/followers","following_url":"https://api.github.com/users/CanalTP/following{/other_user}","gists_url":"https://api.github.com/users/CanalTP/gists{/gist_id}","starred_url":"https://api.github.com/users/CanalTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanalTP/subscriptions","organizations_url":"https://api.github.com/users/CanalTP/orgs","repos_url":"https://api.github.com/users/CanalTP/repos","events_url":"https://api.github.com/users/CanalTP/events{/privacy}","received_events_url":"https://api.github.com/users/CanalTP/received_events","type":"Organization","site_admin":false},"repo":{"id":10797333,"name":"navitia","full_name":"CanalTP/navitia","owner":{"login":"CanalTP","id":2743985,"avatar_url":"https://avatars.githubusercontent.com/u/2743985?v=3","gravatar_id":"","url":"https://api.github.com/users/CanalTP","html_url":"https://github.com/CanalTP","followers_url":"https://api.github.com/users/CanalTP/followers","following_url":"https://api.github.com/users/CanalTP/following{/other_user}","gists_url":"https://api.github.com/users/CanalTP/gists{/gist_id}","starred_url":"https://api.github.com/users/CanalTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CanalTP/subscriptions","organizations_url":"https://api.github.com/users/CanalTP/orgs","repos_url":"https://api.github.com/users/CanalTP/repos","events_url":"https://api.github.com/users/CanalTP/events{/privacy}","received_events_url":"https://api.github.com/users/CanalTP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CanalTP/navitia","description":"The REST API to build cool stuff with public transport","fork":false,"url":"https://api.github.com/repos/CanalTP/navitia","forks_url":"https://api.github.com/repos/CanalTP/navitia/forks","keys_url":"https://api.github.com/repos/CanalTP/navitia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CanalTP/navitia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CanalTP/navitia/teams","hooks_url":"https://api.github.com/repos/CanalTP/navitia/hooks","issue_events_url":"https://api.github.com/repos/CanalTP/navitia/issues/events{/number}","events_url":"https://api.github.com/repos/CanalTP/navitia/events","assignees_url":"https://api.github.com/repos/CanalTP/navitia/assignees{/user}","branches_url":"https://api.github.com/repos/CanalTP/navitia/branches{/branch}","tags_url":"https://api.github.com/repos/CanalTP/navitia/tags","blobs_url":"https://api.github.com/repos/CanalTP/navitia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CanalTP/navitia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CanalTP/navitia/git/refs{/sha}","trees_url":"https://api.github.com/repos/CanalTP/navitia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CanalTP/navitia/statuses/{sha}","languages_url":"https://api.github.com/repos/CanalTP/navitia/languages","stargazers_url":"https://api.github.com/repos/CanalTP/navitia/stargazers","contributors_url":"https://api.github.com/repos/CanalTP/navitia/contributors","subscribers_url":"https://api.github.com/repos/CanalTP/navitia/subscribers","subscription_url":"https://api.github.com/repos/CanalTP/navitia/subscription","commits_url":"https://api.github.com/repos/CanalTP/navitia/commits{/sha}","git_commits_url":"https://api.github.com/repos/CanalTP/navitia/git/commits{/sha}","comments_url":"https://api.github.com/repos/CanalTP/navitia/comments{/number}","issue_comment_url":"https://api.github.com/repos/CanalTP/navitia/issues/comments{/number}","contents_url":"https://api.github.com/repos/CanalTP/navitia/contents/{+path}","compare_url":"https://api.github.com/repos/CanalTP/navitia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CanalTP/navitia/merges","archive_url":"https://api.github.com/repos/CanalTP/navitia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CanalTP/navitia/downloads","issues_url":"https://api.github.com/repos/CanalTP/navitia/issues{/number}","pulls_url":"https://api.github.com/repos/CanalTP/navitia/pulls{/number}","milestones_url":"https://api.github.com/repos/CanalTP/navitia/milestones{/number}","notifications_url":"https://api.github.com/repos/CanalTP/navitia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CanalTP/navitia/labels{/name}","releases_url":"https://api.github.com/repos/CanalTP/navitia/releases{/id}","created_at":"2013-06-19T15:34:30Z","updated_at":"2015-03-03T08:28:41Z","pushed_at":"2015-03-03T08:28:39Z","git_url":"git://github.com/CanalTP/navitia.git","ssh_url":"git@github.com:CanalTP/navitia.git","clone_url":"https://github.com/CanalTP/navitia.git","svn_url":"https://github.com/CanalTP/navitia","homepage":"http://www.navitia.io","size":31581,"stargazers_count":89,"watchers_count":89,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":15,"forks":26,"open_issues":15,"watchers":89,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/919"},"html":{"href":"https://github.com/CanalTP/navitia/pull/919"},"issue":{"href":"https://api.github.com/repos/CanalTP/navitia/issues/919"},"comments":{"href":"https://api.github.com/repos/CanalTP/navitia/issues/919/comments"},"review_comments":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/919/comments"},"review_comment":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CanalTP/navitia/pulls/919/commits"},"statuses":{"href":"https://api.github.com/repos/CanalTP/navitia/statuses/eaff06bec60b0f0f8e7fda554be74a17cdfa8e0d"}}}}