Skip to content

Ahmed-Zaher/Contraction-Hierarchies-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Contraction-Hierarchies-Algorithm

My implementation of contraction heirarchies algorithm.

I used node level, contracted neighbours as heuristics, as well as an approximation of edge difference by assuming that we always add shortcuts.

The code was tested on a road network graph of New York (has about 250K nodes, 700K edges) and takes on average 28s for preprocessing and average query time of 3ms on my machine.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages