how we use neo4j for finding public transport routes

12
Use Neo4j for search transport routes Evgeny Kozhanov (JSC "A360", a360.ru/en) September 14, 2013

Upload: evgenii-kozhanov

Post on 14-Jan-2015

2.176 views

Category:

Technology


7 download

DESCRIPTION

How we use neo4j for finding public transport routes

TRANSCRIPT

Page 1: How we use neo4j for finding public transport routes

Use Neo4j for search transport routes

Evgeny Kozhanov (JSC "A360", a360.ru/en)

September 14, 2013

Page 2: How we use neo4j for finding public transport routes

Main goalHow I can go from London (UK) to Magdeburg (Germany) by public transport?

Page 3: How we use neo4j for finding public transport routes

Use a360.ru for find pointsI can find and select departure point and arrival point in comboboxes and map.

Page 4: How we use neo4j for finding public transport routes

Finding best routesAnd after a few seconds...

Page 5: How we use neo4j for finding public transport routes

Result: groups... we can show grouped results on the left panel and selected variant on the map.

Page 6: How we use neo4j for finding public transport routes

Result: timetableWe can show timetable for selected variant...

Page 7: How we use neo4j for finding public transport routes

Result: tickets... and prices of the flight tickets and train tickets

Page 8: How we use neo4j for finding public transport routes

Neo4j very simple modelRelationship between cities and stations are edges of the graph (with different types)

Page 9: How we use neo4j for finding public transport routes

Finding one routeFinding one route by train (green line):

Page 10: How we use neo4j for finding public transport routes

Finding more routesFinding routes by train and avia (green line):

Page 11: How we use neo4j for finding public transport routes

Why we use Neo4j?There are some reasons for use Neo4j:

I graph databases - success way to store transport graphI fast finding shortest paths (by Dijkstra algorithm)I easy way to change db via REST APII we use our plugin for findind routes by our algorithms

Page 12: How we use neo4j for finding public transport routes

Contact me

Evgeny Kozhanov, JSC "A360" (a360.ru/en)[email protected], http://vinger4.blogspot.com/Moscow, Russian Federation