Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 905 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 905 Bytes

Pruned Highway Labeling

Pruned Highway Labeling is a shortest-path distance querying algorithm for road networks.

Usage

$ make
$ bin/construct graph_file label_file
$ bin/query label_file
  • Execute make to build programs.
  • Execute construct to construct labels for a graph.
  • Execute query to query distance between two vertices.
  • In a graph file, each line should contain two vertices, travel time and geometrical length (see sample_graph.tsv).
  • Vertices should be described by integers starting from zero.

Please see pruned_highway_labeling.h and benchmark.cpp for detailed information.

References