Skip to content

Commit

Permalink
Merge pull request #21 from naviqore/NAV-170-Implementation-StopTimes…
Browse files Browse the repository at this point in the history
…Array-erkl-ren

Very intermediate DRAFT PR
  • Loading branch information
munterfi authored Sep 21, 2024
2 parents 28a843e + 9c31f06 commit 8351014
Show file tree
Hide file tree
Showing 39 changed files with 921 additions and 110 deletions.
6 changes: 4 additions & 2 deletions Writerside/d.tree
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SYSTEM "https://resources.jetbrains.com/writerside/1.0/product-profile.dtd">

<instance-profile id="d"
name="Naviqore"
name="Naviqore - Efficient Public Transit Routing with RAPTOR"
start-page="introduction.md">

<toc-element topic="introduction.md"/>
Expand Down Expand Up @@ -31,6 +31,8 @@
<toc-element topic="sequence-diagram.md"/>
</toc-element>
<toc-element topic="implementation.md">
<toc-element topic="gtfs-schedule.md"/>
<toc-element topic="public-transit-service.md"/>
<toc-element topic="simple-raptor.md"/>
<toc-element topic="extended-raptor.md"/>
<toc-element topic="raptor-xx.md"/>
Expand All @@ -41,5 +43,5 @@
<toc-element topic="limitations.md"/>
</toc-element>
<toc-element topic="conclusion-and-outlook.md"/>
<toc-element topic="References.md"/>
<toc-element topic="references.md"/>
</instance-profile>
Binary file added Writerside/images/boxplot_processing_time.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Writerside/images/stop-times-array.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Writerside/images/success_rates.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@ different meanings depending on the layer or package they are associated with, e

## Public Transit

| Term | Description |
|---------------|------------------------------------------------------------------------------------------------------------------------------------|
| Agency | An organization providing transit services. |
| Connection | An option for travel that include details like fare and possible routes and transfers |
| Leg | A part of a connection in one mode of transportation or vehicle. |
| Journey | A connection is realized as a journey when the passenger selects it and begins traveling. |
| Services | Transit offerings by agencies, consisting of trips operating on specific routes. |
| Stop | A location where passengers board or alight from transit vehicles. |
| Schedule | The planned timetable for transit services, detailing stops, routes, and times. |
| Transfer | A switch between different routes or a footpath between two stops. |
| Stop facility | Physical infrastructure where passengers wait and board transit vehicles. |
| Station | A station is a large stop facility, typically serving rail. It can also consist multiple smaller stop facilities (e.g. platforms). |
| Platform | A platform is a designated area within a station where passengers wait to board or alight from transit vehicles. |
| Term | Description |
|---------------|----------------------------------------------------------------------------------------------------------------------------------------------|
| Agency | An organization providing transit services. |
| Connection | An option for travel that include details like fare and possible routes and transfers |
| Leg | A part of a connection in one mode of transportation or vehicle. |
| Journey | A connection is realized as a journey when the passenger selects it and begins traveling. |
| Services | Transit offerings by agencies, consisting of trips operating on specific routes. |
| Stop | A location where passengers board or alight from transit vehicles. |
| Schedule | The planned timetable for transit services, detailing stops, routes, and times. |
| Transfer | A switch between different routes or a footpath between two stops. |
| Stop facility | Physical infrastructure where passengers wait and board transit vehicles. |
| Station | A station is a large stop facility, typically serving rail. It can also consist multiple smaller stop facilities (e.g. platforms). |
| Platform | A platform is a designated area within a station where passengers wait to board or alight from transit vehicles. |
| Isolines | Reachable stops within a time frame, forming accessibility boundaries from a source stop, exploring routes without a predefined destination. |

## RAPTOR

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ accessibility of a region, and assessing alternative routes available at the tim

Transit **agencies** publish GTFS schedules, which are then consumed by the service to provide up-to-date public transit
information and connections.

67 changes: 0 additions & 67 deletions Writerside/topics/benchmarking.md

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ URL. While running the service periodically updates the **GTFS Static** schedule

```mermaid
sequenceDiagram
participant Admin
participant Admin #LightSkyBlue
participant SpringApp as Spring Application (REST API)
participant Service as Public Transit Service
participant GTFS
participant GTFS #LightCoral
participant RAPTOR #LightCoral
participant Schedule as GTFS Static
Admin ->>+ SpringApp: Start
Expand All @@ -22,6 +23,10 @@ sequenceDiagram
GTFS ->>+ Schedule: Fetch
Schedule -->>- GTFS: Return data
GTFS -->>- Service: Schedule in memory
Service ->>+ RAPTOR: Initialize
RAPTOR -->>- Service: RAPTOR data structure in memory
Service -->>- SpringApp: Ready
loop Periodic GTFS Static Reload
Expand All @@ -30,6 +35,8 @@ sequenceDiagram
GTFS ->>+ Schedule: Fetch new version
Schedule -->>- GTFS: Return updated data
GTFS -->>- Service: New schedule in memory
Service ->>+ RAPTOR: Initialize (and clear trip mask cache)
RAPTOR -->>- Service: New RAPTOR data structure in memory
Service -->>- SpringApp: Update complete
end
Expand Down
15 changes: 0 additions & 15 deletions Writerside/topics/extended-raptor.md

This file was deleted.

5 changes: 0 additions & 5 deletions Writerside/topics/implementation.md

This file was deleted.

Loading

0 comments on commit 8351014

Please sign in to comment.