Defined in File PrunedLandmarkLabeling.hpp
public NetworKit::Algorithm
(Class Algorithm)
public NetworKit::DynPrunedLandmarkLabeling
(Class DynPrunedLandmarkLabeling)
Subclassed by NetworKit::DynPrunedLandmarkLabeling
Public Functions
Pruned Landmark Labeling algorithm based on the paper “Fast exact shortest-path distance
queries on large networks by pruned landmark labeling” from Akiba et al., ACM SIGMOD 2013. The algorithm computes distance labels by performing pruned breadth-first searches from each vertex. Labels are used to quickly retrieve shortest-path distances between node pairs.
Note
this algorithm only works for unweighted graphs.
G – The input graph.
Computes distance labels. Run this function before calling ‘query’.
Protected Functions
Protected Attributes