Dijkstra's algorithm vs transit algorithm
Shortest path problem is a problem that is relevant to a wide range of applications like traffic simulation and network routing. These applications play a huge part in our daily lives thus there is a need to explore algorithms which are faster and more efficient. This project explores and impleme...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
2011
|
Subjects: | |
Online Access: | http://hdl.handle.net/10356/43895 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-43895 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-438952023-03-03T20:42:06Z Dijkstra's algorithm vs transit algorithm Chua, Esther Yizhen. School of Computer Engineering Xiao Xiao Kui DRNTU::Engineering::Computer science and engineering::Theory of computation::Analysis of algorithms and problem complexity Shortest path problem is a problem that is relevant to a wide range of applications like traffic simulation and network routing. These applications play a huge part in our daily lives thus there is a need to explore algorithms which are faster and more efficient. This project explores and implements Dijkstra’s algorithm and Transit algorithm. Dijkstra’s algorithm is an algorithm that computes the shortest path between two nodes in a graph whose path costs are positive by iteratively visiting all the nodes that are closer to the source than the destination before eventually reaching the destination. Transit algorithm makes use of transit nodes as a mean to pre-process a road network where transit nodes are a set of nodes with the property that every non-local shortest path passes through at least one of these nodes. A path is deemed as non-local if its source and destination are more than 4 grid cells apart. Computation of the length of the shortest paths between each pair of transit nodes and between each node in the graph and its neighboring transit nodes are done thus allowing non-local shortest path queries to be answered in an extremely fast manner by combining information from a small number of lookup in a table. Dijkstra’s algorithm, on average will take seconds for a random query while Transit algorithm is expected to have a worst case query processing time of about 10 microseconds for 99% of the queries on United States network which has around 24 million nodes and 29 million edges. Bachelor of Engineering (Computer Science) 2011-05-12T06:02:17Z 2011-05-12T06:02:17Z 2011 2011 Final Year Project (FYP) http://hdl.handle.net/10356/43895 en Nanyang Technological University 74 p. application/pdf |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
DRNTU::Engineering::Computer science and engineering::Theory of computation::Analysis of algorithms and problem complexity |
spellingShingle |
DRNTU::Engineering::Computer science and engineering::Theory of computation::Analysis of algorithms and problem complexity Chua, Esther Yizhen. Dijkstra's algorithm vs transit algorithm |
description |
Shortest path problem is a problem that is relevant to a wide range of applications like traffic simulation and network routing. These applications play a huge part in our daily lives thus there is a need to explore algorithms which are faster and more efficient.
This project explores and implements Dijkstra’s algorithm and Transit algorithm.
Dijkstra’s algorithm is an algorithm that computes the shortest path between two nodes in a graph whose path costs are positive by iteratively visiting all the nodes that are closer to the source than the destination before eventually reaching the destination.
Transit algorithm makes use of transit nodes as a mean to pre-process a road network where transit nodes are a set of nodes with the property that every non-local shortest path passes through at least one of these nodes. A path is deemed as non-local if its source and destination are more than 4 grid cells apart.
Computation of the length of the shortest paths between each pair of transit nodes and between each node in the graph and its neighboring transit nodes are done thus allowing non-local shortest path queries to be answered in an extremely fast manner by combining information from a small number of lookup in a table.
Dijkstra’s algorithm, on average will take seconds for a random query while Transit algorithm is expected to have a worst case query processing time of about 10 microseconds for 99% of the queries on United States network which has around 24 million nodes and 29 million edges. |
author2 |
School of Computer Engineering |
author_facet |
School of Computer Engineering Chua, Esther Yizhen. |
format |
Final Year Project |
author |
Chua, Esther Yizhen. |
author_sort |
Chua, Esther Yizhen. |
title |
Dijkstra's algorithm vs transit algorithm |
title_short |
Dijkstra's algorithm vs transit algorithm |
title_full |
Dijkstra's algorithm vs transit algorithm |
title_fullStr |
Dijkstra's algorithm vs transit algorithm |
title_full_unstemmed |
Dijkstra's algorithm vs transit algorithm |
title_sort |
dijkstra's algorithm vs transit algorithm |
publishDate |
2011 |
url |
http://hdl.handle.net/10356/43895 |
_version_ |
1759856988692414464 |