Git Product home page Git Product logo

contraction-hierarchies's Introduction

Contraction Hierarchies

Version 2008/06/24 Revision 447

Please contact me ([email protected]) if you are using the source code as I am very interested in the possible applications that arise from using it.

Introduction

This program allows to create and test contraction hierarchies (CH), a hierarchical, shortcut-based speedup technique for fast and simple routing in road networks. The code was created as part of a diploma thesis at Universitaet Karlsruhe (TH), Institute for Algorithmics II.

Papers: - R. Geisberger, P. Sanders, D. Schultes, D. Delling. Contraction Hierarchies: Faster and Simpler Hierarchical Routing in Road Networks. In 7th International Workshop on Efficient and Experimental Algorithms (WEA), 2008.

Required libraries

  • STL
  • Boost IO-streams & regular expressions (only for input/output)

How to build & run

git submodule init
git submodule update
./make-release.txt
./run-node-order.sh docu/example.ddsg
./run-contraction.sh docu/example.ddsg

To clean the temporary generated files:

./clean.sh docu/example.ddsg

You can create a development project in Xcode:

mkdir build
cd build
cmake -G Xcode ..
cd ..
open contraction-hierarchies.xcodeproj

Sources of documentation

In docs/index.html, there are some examples what command-line arguments can be used to create a CH and perform tests.

Contact

Robert Geisberger ([email protected])

Additional programs

In the subfolder many/ is a test program for fast many-to-many distance table computations. However, the source code and the command-line arguments are well not documented well. It is an implementation of the algorithm desribed in the paper

S. Knopp, P. Sanders, D. Schultes, F. Schulz, and D. Wagner. Computing many-to-many shortest paths using highway hierarchies. In Workshop on Algorithm Engineering and Experiments (ALENEX), 2007.

but using contraction hierarchies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.