Manuscript Offprint
arXiv:2610.29781An experimental evaluation of static k-center clustering algorithms on graphs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Sebastian Forster†
Martin Grösbacher
Abstract. The k-center problem is one of the most fundamental clustering problems and has applications in a wide range of areas, including facility location, network design, data mining, and machine learning. Given a set of objects together with a distance measure, the goal is to select k centers such that the maximum distance from any object to its closest center is minimized. The k-center problem has been studied extensively from a theoretical perspective, both in metric spaces and on graphs. While there have been experimental studies for k-center clustering in metric spaces, a comprehensive experimental comparison of graph-based k-center algorithms on large-scale graphs is still lacking. In this paper, we bridge this gap by evaluating a set of algorithms ranging from classical approaches such as Gonzalez's greedy algorithm [TCS 1985], an algorithm based on the framework established by Hochbaum and Shmoys [Math. Oper. Res. 1985], to more recent methods, including algorithms by Thorup [SICOMP 2001] and Abboud et al. [SOSA 2023]. Our study considers both running time, solution quality and the effects of parallelism on a variety of synthetic and real-world datasets. Our goal is to provide a comprehensive comparison of state-of-the-art k-center algorithms on graphs and identify the strengths and weaknesses of different approaches in practice.
*This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No 947702). All code is publicly available at: https://doi.org/10.5281/zenodo.23433263
University of Salzburg, Austria (forster@cs.sbg.ac.at)
University of Salzburg, Austria (martin.groesbacher@plus.ac.at)
1 Introduction Analyzing the structure of large-scale networks is a fundamental problem in many fields. One important task is to partition the underlying data into meaningful subgroups. This process is naturally captured by clustering problems. These problems have been extensively studied in data mining and machine learning [31, 3, 32]. The goal of clustering problems is to group input data together in structures called clusters such that similar data ends up in the same cluster. Among the many clustering objectives, k-clustering methods represent each cluster by one of k centers and each data point is assigned to the cluster of its closest center. The k-center problem is concerned with selecting its centers such that the maximum distance of every data point to its closest center is minimized. Formally, this is an optimization problem of the following form: Given a metric space and an integer , the objective is to compute a set of centers with minimizing , where .
This problem is NP-hard [30] and thus TCS research generally focuses on finding efficient approximation algorithms [24, 29, 41, 19]. The k-center problem is commonly defined on arbitrary metric spaces. In this general setting, often called ‘metric k-center’ or ‘vertex k-center’, it is usually assumed that the distances are given to the algorithm explicitly as part of the input or that distances can be queried upon request. However, in transportation, communication, social and web network analysis, data is often inherently represented as a graph, where distances correspond to shortest-path lengths rather than explicitly given pairwise distances. Consequently, the graph k-center problem has been studied alongside its metric counterpart from theoretical and algorithmic perspectives [49, 1, 21]. Although graph metrics satisfy the triangle inequality and therefore constitute a special case of metric spaces, they introduce a fundamental algorithmic difference. As a result, the practical performance of graph k-center algorithms depends not only on the quality of the approximation algorithm itself, but also on how efficiently shortest-path computations are performed. Despite recurring progress of theoretical research on graph k-center there is comparatively little empirical work evaluating these algorithms on modern large-scale graph datasets. This paper aims to fill this gap by providing a comprehensive experimental study of state-of-the-art graph k-center algorithms on graphs.
1.1 Related Work Note that for the sake of clearer exposition, we report running times under the assumption that the weights are integers in the range 1 to for some constant c. For super-polynomial weights, general techniques for reducing the weight range at the expense of a mild increase in approximation guarantee exist (see [1] for a brief discussion). We furthermore employ -notation suppresses factors polylogarithmic in n (the number of nodes).
Classic approximation algorithms for k-center have originally considered the “metric” version of the problem. Both the farthest-point heuristic (discovered independently by Gonzalez [24] and Dyer and Frieze [19]) and the covering heuristic (discovered independently by Hochbaum and Shmoys [29] and Plesnik [41]) compute a solution that exceeds the optimal value by a factor of at most 2 in polynomial time. This approximation factor is tight unless [30]. In cases where constant-time query access to the distances of the metric space is supported, these two classic algorithms have a running time of and , respectively. Note that any algorithm formulated for the metric setting can readily be applied to graphs after performing an (expensive, -time) all-pairs shortest path computation in a preprocessing step. The two classic algorithms can however be directly implemented more efficiently in time by employing Dijkstra’s algorithm (or any other comparably fast single-source shortest path (SSSP) algorithm) for a graph with n nodes and m edges. It can further be shown that at least distance queries are necessary in the metric setting [7], but this lower bound does not apply to the graph setting.
Indeed, Thorup [49] designed a 2-approximation algorithm with near-linear running time, i.e., time . Thorup in particular exploits the following near-linear time primitive that cannot be implemented as efficiently in other metric spaces: Given a set of source nodes , compute the distance of every node to its closest node in S by a straightforward modification of Dijkstra's algorithm. Another interesting aspect about Thorup's algorithm is that it eliminates the inherent "chain of sequentiality" present in the classic algorithms that arises from the iterative choice of the k centers.
Recently, the graph setting has received further attention. First, Abboud, Cohen-Addad, Lee, and Manurangsi [1] showed that the two classic algorithmic approaches mentioned above can be implemented in near-linear time in the graph setting due to an elegant randomization trick; for the Hochbaum-Shmoys algorithm
Note that such hardness results directly carry over to the graph setting because every metric space with n points can be viewed as a complete graph with edges.
Otherwise, a quadratic-time preprocessing step is required for reading the whole input.
As pointed out by Thorup [49], distance approximation algorithms can be used to gain efficiency in such a preprocessing step at the cost of overall accuracy.
this approach worsens the approximation guarantee by a -factor for a tuneable parameter with (inverse) linear influence on the running time. Second, Forster, Nazari, Rao, and Skarlatos [21] observed that the two classic algorithmic approaches can be implemented efficiently by employing a partially dynamic single-source shortest paths data structure. In particular, the partially dynamic algorithm of Górkiewicz and Karczmarz [25] implies a nearly-linear time implementation at the cost of worsening the approximation guarantee by a -factor for a tuneable parameter with (inverse) linear influence on the running time. Note that these recent works again exhibit the aforementioned “chain of sequentiality” in choosing the centers.
Apart from the study of Kralev et al. [33], which compares an exact and an approximation algorithm on randomly generated graphs with at most 150 nodes, we are not aware of any experimental studies targeting the k-center problem in the graph setting. Existing studies [39, 23] for the related metric k-center problem (in which the all-pairs distances are given explicitly as part of the input) focus approximation guarantee and have been conducted for moderate input sizes.
1.2 Research Questions As explained above, the k-center problem on graphs has become a separate object of study with several potential use cases. Yet, to the best of our knowledge, a systematic study of running time performance is lacking. In this paper, we address this research gap by engineering scalable implementations of existing algorithms and introducing an implementation-oriented simplification of Thorup's algorithm. In doing so, we in particular consider parallelization issues to support large input graphs on modern hardware. All algorithms in this paper were therefore implemented both with sequential and parallel support via parallel SSSP routines.
The main goal of our work is to answer the following questions:
-
Which algorithms achieve the best running time on different graph classes?
-
How do the solution qualities of the algorithms compare?
-
How well do the algorithms scale with parallelism?
To answer these questions, we perform an extensive experimental evaluation on synthetic random graphs as well as real-world instances. To keep this study feasible, we (a) limit the scope of our investigations to polynomial-time algorithms with a (close to) optimal multiplicative approximation factor of 2 and (b) rely on established implementations of single-source shortest path algorithms. Algorithms included in this paper are well known approaches such as the algorithm of Gonzalez [24], a recent improvement over the classic algorithm of Hochbaum & Shmoys [29] by Abboud et al. [1], an algorithm by Thorup [49] as well as an -approximate version of Gonzalez's algorithm by Abboud et al. [1]. All algorithms were implemented in C++ using the graph-based benchmark suite (GBBS) by Dhulipala et al. [14].
1.3 Outline The rest of this paper is organized as follows: In section 2 we provide preliminaries and discuss our parallel model. Sections 4 and 5 explain the algorithms and their implementations. Sections 6 and 7 treat our experimental setup and results and section 8 contains the conclusion.
2 Preliminaries
2.1 Basic Concepts Let be an undirected (weighted) graph with vertex set , edge set , and weight function assigning a positive integer weight to each edge. Throughout this paper, let denote the number of vertices, the number of edges and let denote the highest weight in the graph which we assume to be polynomial in . This assumption is justified by the observation that in massive real-world data sets with a large number of nodes. Furthermore, we define the density of as . We write to refer to the degree of the vertex , i.e. the number of its incident edges and to refer to the highest degree of any of . Let denote the weight of the shortest path between and in , sometimes also referred to as the distance from to . Since the graphs considered in this paper are undirected, is symmetric. The -center problem on graphs is defined as:
DEFINITION 2.1 (k-Center Problem on Graphs). Given an undirected (weighted) graph and an integer , find a set of centers with minimizing
The solution to the k-center problem returned is often referred to as the radius of the clusters produced. For a vertex , let denote its current distance to the nearest center. During the execution of an algorithm, refers to the value maintained by the algorithm and is updated whenever a closer center is found. We say that an event occurs with high probability (w.h.p.), if it occurs with probability at least for any .
2.2 Parallel Model and Primitives In this paper, we analyze the running time of parallel algorithms in the work-depth model [8, 46], which is commonly used to analyze fork-join style parallel algorithms. Work is the total number of operations performed (equivalently, the sequential running time). Depth (span) is the length of the longest chain of sequential dependencies. By Brent's theorem [9], the running time of a parallel algorithm in the work-depth model on P processors satisfies where W denotes the total work, P denotes the number of available processors, D denotes the depth and denotes the running time of the algorithm using P processors. This model is a shared-memory extension of the sequential RAM model and has been commonly used to develop and analyze parallel algorithms. A work-efficient parallel algorithm is one where the work asymptotically matches the best-known sequential time complexity for the problem.
Depending on whether the graph is weighted or unweighted and whether a sequential or parallel execution is used, we employ four different SSSP routines:
-
Parallel, unweighted: Parallel Breadth-First Search
-
Parallel, weighted: -stepping
-
Single-core, unweighted: Breadth-First Search
-
Single-core, weighted: Dijkstra
All four routines are extended by two modifications that are used throughout this paper. First, we employ lazy updates. Since all algorithms repeatedly perform SSSP computations from different centers, they maintain a global distance array which for every vertex v stores its current distance to the closest center selected so far. During an SSSP computation, a vertex is only inserted into the SSSP data structure if its distance is improved. Second, we support an optional distance cap. Given a source vertex u and a radius r, an edge is only relaxed if .
Breadth-First Search (both sequential and parallel) and Dijkstra's algorithm are standard algorithms whose details are well-known. For the parallel execution on weighted graphs, we use -stepping [38]. We are aware of the existence of other algorithms that use the stepping framework [15]. While they show improvements for certain graph types, -stepping still remains competitive and is widely used. Since our experimental dataset contains multiple graph classes, we make vanilla -stepping our algorithm of choice. In the unweighted setting, the effects of parallelization are relatively intuitive and we therefore do not evaluate these explicitly in our study. A review of -stepping and its subsequent notation is contained in subsection A.1 of the appendix.
More generally, other approaches for sequential and parallel single-source shortest path computation [48, 4, 36, 44, 45, 10, 17, 16, 26, 11, 18, 5] (a) precompute global structures which adds a certain baseline overhead and seems to not interact well with locality aspects of k-center and/or (b) have no publicly available scalable implementations.
4 Maximal Distance-r Independent Set Algorithms
4.1 Abboud MIS The first k-center clustering algorithm we implemented is based on the well-known 2-approximation algorithm by Hochbaum and Shmoys [29]. It takes a graph along with a parameter k as an input and outputs a 2-approximation to the k-center solution by computing the smallest radius r that is sufficient to cover G using at most k centers. A maximal distance-r independent set algorithm is used as a feasibility check for a given r and depending on the output, the radius is increased or decreased according to a binary search. Abboud et al. showed that a maximal distance-r independent set algorithm can be implemented in time in expectation by combining random center selection with lazy Dijkstra updates. Note that their running time is independent of k. They key observation is that each vertex and consequently its incident edges are scanned only times in expectation. We now show that the same charging argument remains valid whether we use our Lazy Capped Dijkstra or the Lazy Capped -stepping routine, because it depends only on the sequence of successful distance decreases and not on how the SSSP routine propagates those. Thus, we will now analyze the feasibility check employed by Abboud et al.'s algorithm, which henceforth will simply be called Abboud MIS.
It should be mentioned, that Abboud et al. employ a rounding technique such that each edge weight is an integer between 1 and which guarantees polynomially bounded edge weights but causes their solution to lose an approximation factor of . Since, as mentioned in the preliminaries, we observe that the highest weight in real world datasets is often much smaller than n, we do not employ this rounding scheme for any of our algorithms.
Algorithm 4.1 ABBOUDFEASIBILITYCHECK(G, r)
Input: Graph , radius r
Output: Maximal distance-r independent set S
1:
▷ output set
2:
▷ remaining center candidates
3:
▷ global distance array
4: while do
5: random vertex from T
▷ pick center
6:
7: if then
8:
▷ add vertex to solution
9: SSSP ROUTINE( )
▷ update distances
10: end if
11: end while
12: return S
As mentioned before, Algorithm 4.1 serves as the feasibility check for the maximal distance-r independent set algorithm by Abboud et al.: Given a radius r, it will return the set of centers and therefore also the number of centers needed to cover the whole graph with the given r. In the weighted parallel case, it calls Lazy Capped -stepping as a subroutine once per selected center. The following lemma shows that each vertex experiences only successful distance decreases in expectation. Consequently, the exploration work accumulated over all SSSP executions is only an factor larger than the exploration work of a single Lazy Capped -stepping execution, whereas the phase overhead accumulates once per selected center since the SSSP computations are invoked sequentially. Let denote the output set produced by Algorithm 4.1 on input and let denote the number of centers selected by Algorithm 3 for this input radius.
The following lemma bounds the expected work and depth of Algorithm 4.1 when Lazy Capped -stepping is used as the underlying SSSP routine.
LEMMA 4.1. Let denote the number of centers selected by Algorithm 4.1. When Lazy Capped -stepping is used as the underlying SSSP routine, the expected work is
and the depth is
The proof and the implementation details are contained in subsection A.2 of the appendix.
4.2 Simplifying Thorup's Algorithm Thorup's algorithm follows the Hochbaum-Shmoys framework which by binary search finds the smallest r such that a distance-r independent set of size can be found [49]. In each iteration, it starts with , the initially empty distance-r independent set, and the set of uncovered nodes . The algorithm then iteratively grows the independent set by repeatedly performing the following steps until W is empty:
- Compute , a -approximation of , the maximum number of elements of W contained in any distance-r ball.
• Pick a random subset R of W of size .
-
Compute the subset of “isolated” nodes having no other nodes of at distance .
-
Add T to U and remove all nodes from W at distance to any node in U.
As a result, Thorup's algorithm produces a 2-approximation to the k-center problem. It is clear that the set U constructed in this way is indeed a maximal distance-r independent set. The size-estimation step can be done with Cohen's near-linear time size-estimation algorithm [12] and Thorup provides implementation details to argue how the rest of each iteration can be performed in near-linear time.
To show that the number of iterations is polylogarithmic in n in expectation, Thorup argues that it takes iterations in expectation to reduce , the maximum number of elements of W contained in any distance-r ball, by a constant factor. Since can undergo only such reductions, this gives an expected bound of on the total number of iterations. While Thorup's algorithm achieves a near-linear running time, one of its key ingredients is Cohen's approximate neighborhood-size estimation data structure. Although elegant from a theoretical perspective, this routine is comparatively involved, introduces polylogarithmic running-time overheads, and, to the best of our knowledge, no publicly available implementation exists. Our goal is therefore to replace this component by a much simpler implementation-friendly alternative while preserving the same asymptotic running time guarantees. The resulting algorithm is considerably easier to implement, requires only repeated shortest-path computations, and has no worse asymptotic running time than Thorup's original algorithm.
Our algorithm replaces Cohen's repeated size-estimation routine by a geometrically decreasing guess of the sampling parameter . Initially, we set and repeatedly decrease it by a factor of after each "phase" (by which we denote one iteration of the outer while-loop in lines 4–15 of Algorithm 4.2). For each phase with a fixed value of , we repeat the sampling of nodes for the independent set times (whereas Thorup samples only once for a specific estimate ); we
Algorithm 4.2 SIMPL.THORUPFEASIBILITYCHECK(G, r)
Input: Graph , radius r
Output: Maximal distance-r independent set U
1:
2:
3:
4: while and do
5: for to do
6: Select a random subset of size
7:
8:
9: Remove from W all vertices within distance r of U
10: if then
11: return U
12: end if
13: end for
14:
15: end while
16: return FALLBACK MIS( )
refer to one iteration of the inner for-loop in lines 5–13 in which this happens as a “round”.
A closely related guessing argument appears in the distributed beeping-model MIS algorithm of Afek et al. [2]. Although their setting differs from ours, they also avoid explicitly determining the relevant neighborhood size by considering geometrically spaced estimates and analyze the iteration in which the current estimate is within a constant factor of the true scale. We adapt this idea directly for the k-center problem using the framework established by Thorup.
In our simplification of Thorup's algorithm, most guesses initially overestimate the unknown value and therefore need not contribute to the progress of the algorithm. However, these rounds are harmless. Eventually, the guessed value enters the constant-factor estimation regime considered in Thorup's analysis, where he argues that each heavy vertex, i.e., each vertex with where is the -neighborhood of , is eliminated from with constant probability. Thus, in expectation a constant fraction of heavy nodes is eliminated in each round of such a phase and after rounds (the length of each phase), each heavy vertex is eliminated with high probability, which implies that is reduced by a constant factor in this phase. We can summarize this guarantee as follows.
LEMMA 4.2. For some constants and and any fixed , the relationship can hold for at most consecutive rounds of Algorithm 4.2 with high probability.
After such a “successful” phase, is subsequently decreased geometrically as well and the argument repeats for the new values of and . The geometric decrease bounds the number of phases by and by the following invariant we can argue that a successful phase must happen eventually.
LEMMA 4.3. At the beginning of each phase of Algorithm 4.2 and immediately after each update of , we have with high probability.
THEOREM 4.4. Algorithm 4.2 terminates after rounds with high probability.
The proofs of Lemmas 4.2 and 4.3 and Theorem 4.4 as well as the implementation details are contained in subsection A.3 of the appendix. To summarize, our simplified algorithm replaces the size-estimation routine by a geometrically decreasing guess of . By Theorem 4.4, one feasibility check performs rounds w.h.p. Each round uses invocations of the underlying Lazy Capped SSSP routine which arise from Thorup's step A.2.3 to identify centers and then remove covered vertices within distance . Thus, one feasibility check takes time w.h.p. in the sequential setting using Lazy Capped Dijkstra. Using Lazy Capped -stepping in the parallel setting, one feasibility check has work and depth w.h.p. In our experimental evaluation, we use a fixed number of four rounds per phase with , as motivated by the parameter study in subsection A.6.3. While this configuration improves practical performance, it does not satisfy the rounds-per-phase assumption required for our high-probability termination guarantee. Correctness is nevertheless preserved by the fallback algorithm.
5 Farthest-Point Selection Algorithms
5.1 Gonzalez The algorithm of Gonzalez is arguably one of the most well known approaches to the k-center problem [24]. A similar approach was developed independently by Dyer and Frieze around the same time [19]. The algorithm is based on farthest-point selection: Given a graph as an input, it outputs a 2-approximation to the k-center solution by picking an arbitrary first center . Then it continues by computing an SSSP solution from which updates the distances in the graph and then selects as the next center. This is repeated until centers have been picked.
The algorithm invokes one SSSP computation per selected center, hence the running time of Gonzalez's algorithm on weighted graphs is using Dijkstra's algorithm. Since the algorithm always
Algorithm 5.1 GONZALEZ(G, k)
Input: Graph , number of centers k Output: Center set C
1: Pick a random vertex 2: 3: 4: SSSP ROUTINE( ) 5: while do 6: 7: 8: SSSP ROUTINE( ) 9: end while 10: return C
picks the exact farthest vertex, the randomized charging argument from the previous section does not apply. Consequently, the work and depth of the underlying SSSP computations in the parallel setting accumulate over the k iterations. Replacing Lazy Dijkstra by Lazy -stepping therefore yields work and depth for graphs with arbitrary positive edge weights. The implementation details are contained in subsection A.4 of the appendix.
We remark that Forster, Nazari, Rao, and Skarlatos [21] have recently observed that a dynamic single-source shortest path algorithm can be employed to amortize the cost of the shortest path computations performed for finding the farthest node in each iteration. In particular, one can add a “super-source” to the graph and in each iteration of the Gonzalez algorithm insert an edge from this source to the farthest vertex and then update the distances. This approach yields the state-of-the-art worst-case complexity for deterministic k-center by utilizing the dynamic approximate single-source shortest path algorithm of Górkiewicz and Karczmarz [25] supporting the insertion of edges incident on the source node, at the cost of an additional factor of in the approximation guarantee.
We are however not aware of any practical implementations of (approximate) shortest path algorithms tailored to the edge-insertions setting. A natural fully dynamic alternative (supporting also edge deletions, which is not necessary in this scenario), is the algorithm by Ramalingam and Reps [42] that has often proven to be one of the top contenders in terms of running time performance in experimental evaluations of dynamic shortest path algorithms [22, 13]. However, using this fully dynamic algorithm (and also others) would essentially be equivalent to the Lazy Dijkstra approach in this setting. For this reason, we did not explicitly include this approach to our study.
5.2 -Approximate Gonzalez Another algorithm we implemented is the -approximate Gonzalez algorithm by Abboud et al [1]. Eppstein et al. independently studied approximate greedy permutations for graph metrics, providing another approach to approximate farthest-first traversal [20]. Instead of picking the exact farthest vertex as the next center, the algorithm assigns each vertex v to a bag depending on and selects a random vertex of the highest non-empty bag. The bag structure allows the algorithm to identify an approximately farthest vertex efficiently while supporting lazy distance updates. The size of the bags depends on . This affects the solution by a factor of , meaning that the radius output by this algorithm is a -approximation for the above choice of .
Algorithm 5.2 APPROXIMATEGONZALEZ(G, k, )
Input: Graph , number of centers k, approximation parameter
Output: Center set C
1:
2:
3:
4: ,
5:
6:
7: while do
8: while do
9:
10: end while
11: random vertex from
12:
13:
14: AUGMENTEDSSSP( )
15: end while
16: return C
The algorithm relies on an augmented SSSP routine that updates both the distance array and the bags containing the vertices affected. As an example, the augmented version of Dijkstra's algorithm is contained in subsection A.5 of the appendix. Abboud et al. show that this algorithm has running time in expectation. The independence of k again follows from the randomized halving argument: each vertex has its distance to the current set of centers improved only times per bag in expectation [1]. The additional bag maintenance performed after each successful distance decrease requires only constant work per successful distance decrease and therefore does not affect the asymptotic running time. Replacing Lazy Dijkstra with Lazy -stepping changes only the cost of the underlying SSSP computations while leaving the randomized charging argument un-changed. Consequently, in the parallel setting we have expected work and depth . During the augmented SSSP calls, vertices that have their distance to the current set of centers improved need to be moved to the correct bag. Note that all vertices are initialized in the last bag (Algorithm 5.2, line 4). As a consequence, the first time a vertex has its distance relaxed, it is removed from , not from a bag determined by as stated in Algorithm A.3, line 8. The implementation details are contained in subsection A.5 of the appendix.
6 Experimental Setup
6.1 General Setup All algorithms presented in Sections 4 and 5 were implemented in C++20 as part of the Graph-Based Benchmark Suite [14]. It uses a shared-memory approach to parallel graph processing in which the entire graph is stored in main memory of a single multi-core machine. The code of the library exploits nested parallelism using scheduler-agnostic parallel primitives, such as fork-join and parallel-for loops. The source code of all algorithms evaluated in this paper is publicly available on Zenodo. The code was compiled using g++ 12 through Bazel using optimization level -02 and architecture-specific optimization enabled through -march=native. All experiments were conducted under Debian 12 bookworm on a server equipped with two AMD EPYC 7763 64-core processors and approximately 4 TB of RAM available, accessed through a virtual machine. Unless stated otherwise, each experiment was repeated three times and the median running time is reported. The timeout for the experimental sweep across all instances was set to three hours per run.
We evaluated the algorithms on both weighted and unweighted real-world graph instances originating from various graph collections such as road networks, social networks and other graph types such as graphs representing movie ratings. These datasets have been used extensively in other graph algorithm studies [37], [47], [40], [28]. They cover a wide range of graph sizes ranging from approximately one million vertices and three million edges up to over 60 million vertices and 1.8 billion edges. In addition, we generated sets of small and large weighted and unweighted synthetic graphs to complement our experiments.
For each algorithm we focus mainly on evaluating their running time and the quality of their output solution. As k-center on graphs is an NP-hard problem, the solution quality is determined relative to the output of the other algorithms. In addition, we also measure how well the algorithms scale with parallelism. Each algorithm was evaluated in both its sequential and parallel variants on all instances. For shortest-path computations on weighted graphs, the sequential implementations use Lazy Dijkstra or Lazy Capped Dijkstra, whereas the parallel implementations employ Lazy -stepping or Lazy Capped -stepping depending on the algorithm. On unweighted graphs, Lazy BFS, Lazy Capped BFS and their parallel variants are used analogously. Throughout the experimental evaluation we consider values of k up to approximately . This regime already represents a large number of centers for the considered graph sizes and covers the range typically relevant in practical facility location and clustering applications.
6.2 Datasets For all datasets, we performed a preprocessing step which removes isolated vertices, multi-edges and self-loops. Most instances are already simple graphs such as the instances from SNAP [35] and for those that are not, this type of preprocessing is also a common practice in the literature [37]. For k-center in particular, each isolated vertex necessarily forms a singleton cluster and therefore does not affect the remaining optimization problem. In the case of weighted graphs, multi-edges were removed by keeping the edge with the lowest weight. The numbers on graph sizes shown in the tables below were taken after this clean-up procedure. Hence, the numbers may slightly differ from those given by the original sources.
6.2.1 Synthetic Graphs We generated sets of small and large random graphs according to the Erdős–Rényi model for both the weighted and the unweighted setting using our own graph generator provided in the Zenodo archive. The small graphs have vertices, while the large graphs have vertices. The density of these graphs is for . For the small instances, we generated 10 graphs per density. In total, this yields 120 small and 12 large instances. The integer weights on the weighted graphs were taken uniformly at random from [1, 10000]. The idea was to cover a wide variety of topologies, including sparse graphs with high diameter and dense graphs with low diameter.
6.2.2 Social Networks The first group of real world graphs that we evaluated our algorithms on represent social networks. These graphs were obtained from the Stanford Network Analysis Platform (SNAP) [35]. The main properties of social networks are that they are unweighted, have high average degree and as a result, tend to have low diameter.
https://doi.org/10.5281/zenodo.23433263
| Graph | n | m | ρ |
|---|---|---|---|
| DBLP | 317,080 | 1,049,866 | 3.31 |
| YouTube | 1,134,890 | 2,987,624 | 2.63 |
| LiveJournal | 3,997,962 | 34,681,189 | 8.67 |
| Orkut | 3,072,441 | 117,185,083 | 38.14 |
| 41,652,230 | 1,202,513,046 | 28.87 | |
| Friendster | 65,608,366 | 1,806,067,135 | 27.53 |
Table 6.1: Characteristics of the social network benchmark instances used in our experiments after preprocessing.
6.2.3 Road Networks We also ran our experiments on the two largest road network graphs available from the 9th DIMACS challenge [6]. These graphs are very sparse () and have high diameter as the weights represent physical distances across the US.
| Graph | n | m | ρ |
|---|---|---|---|
| USA-central | 14,081,816 | 16,933,413 | 1.2 |
| USA-full | 23,947,347 | 28,854,312 | 1.2 |
Table 6.2: Road network instances from the 9th DIMACS shortest path implementation challenge after preprocessing.
6.2.4 Other Networks We complement our experiments with three additional rating networks: libimseti from the Network Repository [43], MovieLens from GroupLens [27], and Yahoo! Song from KONECT [34]. These graphs represent movie or song ratings and fill the gap between the dense unweighted social networks and the sparse weighted road networks.
| Graph | n | m | ρ |
|---|---|---|---|
| libimseti | 220,970 | 17,233,144 | 77.99 |
| MovieLens | 414,214 | 33,832,162 | 81.67 |
| Yahoo! Song | 1,625,951 | 256,804,235 | 157.94 |
Table 6.3: Rating graph instances after preprocessing.
Since a higher rating in the context of these graphs is preferable to a lower rating, we transformed the weights accordingly to fit our shortest-path regime: For example, if the highest rating on a specific instance is 5, then this gets mapped to the best possible edge weight of 1 under the shortest-path metric. The common property of these graphs is that they are very dense and overall have a low diameter. However, the diameter is still significantly higher than for unweighted instances of similar size. Before the actual experimental sweep

(a) , LiveJournal
(b) , LiveJournal

(c) , YouTube
(d) , YouTube

(e) , Orkut
(f) , Orkut
Figure 7.1: Parallel scaling on three social networks. The leftmost point represents single-core execution.
across all instances, we performed pre-tests on various instances regarding the choice of algorithm-specific parameters. These are contained in subsection A.6 of the appendix. Further, we also performed parallel scaling experiments on a subset of graphs to observe initial scaling trends and ideally find the best performing thread count for the full experimental sweep. These experiments are discussed in the following section.
7 Experimental Results In this section, we show and discuss our most important results, beginning with the parallel scaling experiments.
7.1 Parallel Scaling We conducted experiments to investigate how well our algorithms scale with parallelism. The following plots show the performance of all algorithms on a variety of test instances, comparing their single-core variants with parallel executions using increasing numbers of threads. The results for small and large synthetic graphs are contained in subsection A.6.4 and subsection A.6.5 respectively of the appendix.
7.1.1 Parallelism on Social Networks We also evaluated the effects of parallelism on three graphs from our social-network dataset. Since these graphs
Copyright © 2027

(a)
(b)
Figure 7.2: Parallel scaling on the USA-central road network. The leftmost point represents the single-core execution. An × denotes a timeout.
are unweighted, relatively dense and have low diameter, they complement the previously shown synthetic instances. The results are consistent with our earlier observations. The farthest-point-based algorithms and the simplified Thorup algorithm benefit from parallelism up to approximately 64 threads, reducing their running times by factors between roughly 2 and 5. For Abboud MIS, the effect depends on both k and the density of the graph. YouTube is the sparsest graph in this experiment, and its running time is negatively affected by parallelism even for the smaller value of k. LiveJournal and especially Orkut are denser, and parallelism improves the running time by up to a factor of approximately 2, as shown in Figure 7.1, subfigure (e). For values of k approaching , however, the parallel execution becomes substantially slower for the reasons discussed above.
Finally, we also examined parallel scaling on a road-network graph. This graph has very low density and high diameter. As shown in Figure 7.2, no algorithm benefits from parallelism. Although increasing the thread count improves the running time of most parallel executions compared with 8 threads, these improvements are not sufficient to offset the overhead relative to the single-core implementations. For the road network, we restrict the dedicated scaling experiment to at most 32 threads in order to characterize the initial scaling behavior. The full experimental sweep additionally contains executions with 64 threads for different values of k. Although these results are not directly comparable point by point, they confirm the same general trend: single-core execution remains faster for all algorithms. To summarize, these experiments have shown that if instances are large enough and have sufficient density, most algorithms significantly benefit from parallelism up to around 64 threads which is why we chose to use this thread count for our full experimental sweep over all instances for the parallel executions. Abboud MIS
Gonzalez Abboud MIS (parallel) Simplified Thorup Approx. Gonzalez Abboud MIS (single-core)

(a) DBLP
(b) YouTube

(c) LiveJournal
(d) Orkut
(e) Twitter
(f) Friendster
Figure 7.3: Running times on the social-network instances. All algorithms use parallel execution with 64 threads except for Abboud MIS, where each point shows the faster result of the parallel (dark) and single-core (light) runs.
does not benefit from parallelism once k becomes too large. If graphs are too small, parallelism does not pay off for any algorithm. On sparse graphs with high diameter all algorithms generally perform better in single-core mode.
7.2 Running Time and Solution Quality Results In this subsection, we show and discuss the most important results of our full experimental sweep across all instances. The results for synthetic and the real world rating graphs are contained in subsection A.6.6, A.6.7 and A.7.1 in the appendix.
7.2.1 Social Networks On the social networks, the MIS based approaches are generally slower for lower values of k than the farthest-point based algorithms but as k approaches , they catch up. In particular, the Simplified Thorup algorithm outperformed the farthest-point algorithms on Orkut and Twitter. However, it did not outperform them on Friendster, which we believe is due to the fact that the reported radii of
Keep in mind, we are accessing the machine our experiments
were conducted on a virtual machine, which might influence these results
Copyright © 2027

(a) USA-central
(b) USA-full
Figure 7.4: Running times on the two road-network instances. All algorithms use single-core execution.
Gonzalez Approximate Gonzalez Abboud MIS Simplified Thorup

(a) USA-central
(b) USA-full
Figure 7.5: Solution quality on the two road-network instances. The k-center radius returned by each algorithm is reported relative to the one returned by Gonzalez for the same graph and value of k.
all algorithms on this graph was considerably higher. This suggests that this graph has a substantially larger effective diameter, increasing the number of feasibility checks performed by MIS-based algorithms. The quality of solution plots for these networks are contained in subsection A.7 in the appendix.
7.2.2 Road Networks The running times on the road-network graphs confirm the trends observed in the preceding scaling experiments. All algorithms achieve their best performance in single-core mode. The two farthest-point-based algorithms perform best for smaller values of k. As k increases, however, Abboud MIS gradually closes the gap and eventually outperforms them on both instances. Simplified Thorup on the other hand remains substantially slower throughout. This is consistent with our earlier observation that weighted graphs with high diameter require many feasibility checks, making the additional phases of Simplified Thorup dominate the running time.
In terms of solution quality, the MIS-based algorithms clearly emerge as the strongest performers on the road networks. Across all tested values of k, they consistently produce solutions that are approximately 10% to 12% better than the Gonzalez baseline. Confirming the parameter study, Approximate Gonzalez also generally outperforms vanilla Gonzalez on these instances. This suggests that, on sparse networks with high diameter, introducing randomization into the center selection process can lead to better practical solutions than always choosing the exact farthest vertex.
8 Conclusion In this paper, we presented an experimental study of static algorithms for the k-center problem on graphs. We implemented four algorithms, including both classical approaches such as Gonzalez, an algorithm by Thorup as well as more recent ones like an improved variant of Hochbaum & Shmoys by Abboud et al., and an -approximate variant of Gonzalez. All algorithms were implemented as part of the Graph-Based Benchmark Suite and share the same optimized shortest-path routines, allowing for a fair comparison of their practical performance.
Our experiments demonstrate that no single algorithm is universally superior. The farthest-point-based algorithms consistently achieve the best running times on weighted graphs unless k is very large and the instances are very sparse. Meanwhile, the MIS-based approaches become competitive or even outperform them on such sparse weighted graphs and dense unweighted graphs for larger values of k. It is worth mentioning that in practice, the MIS-based algorithms' running time performance is heavily dependent on the realization of the binary search. In practical applications with knowledge about the dataset, a heuristic approach for the initial radius guess might already yield significant improvements. The study further shows that graph density, edge weights, diameter, and the choice of k all have a substantial influence on practical performance. Likewise, parallel execution is highly beneficial on sufficiently large instances as long as they are not particularly sparse, but the achievable speedups strongly depend on the underlying algorithm and graph topology. In terms of solution quality, all algorithms reported similar solutions in absolute terms on unweighted instances. On the weighted instances however, the MIS algorithms generally reported better solutions than the farthest-point algorithms with differences in relative solution quality ranging from approximately 10% to 12% on road networks.
Overall, our study provides both practical implementations and an extensive experimental comparison of modern graph-based k-center algorithms. We hope that the implementation techniques and empirical insights presented in this paper will facilitate future work on scalable clustering algorithms for large-scale graphs.
A Appendix
A.1 -stepping In this section we explain the simple parallel -stepping algorithm used by our algorithms to perform parallel shortest path computations on weighted graphs [38]. As mentioned previously, it receives two modifications: Lazy updates and an optional distance cap. Before discussing the effects of these modifications, let us first recall the running time of -stepping without modifications. The parallel bounds stated below are based on the analysis of Meyer and Sanders [38], which assumes an arbitrary CRCW PRAM. In this model, concurrent shared-memory accesses take constant time and an arbitrary write succeeds in the case of a conflict. For -stepping, competing relaxation requests for the same vertex are first combined by selecting the minimum proposed distance.
Algorithm A.1 -STEPPING(G, s, d)
Input: Graph , starting vertex s, array of distances d
Output: stores the distance from s to v for every reachable vertex
1:
2:
3: bucket with single vertex s
4: for i from 0 to do
5: Set of vertices removed from the current bucket
6: while do
7: Snapshot of current bucket
8:
9:
10: par for each light edge with and do
11: if then
12:
13: Move v into new bucket if necessary v may (re)enter
14: end if
15: end for
16: end while
17: par for each heavy edge with and do
18: if then
19:
20: Move v into new bucket if necessary v may not (re)enter
21: end if
22: end for
23: end for
THEOREM A.1 (Meyer and Sanders [38]).
On graphs with arbitrary positive edge weights, simple parallel -stepping has work
and depth
with high probability on an arbitrary CRCW PRAM.
In Theorem A.1, denotes the bucket width, and are graph-dependent parameters introduced by Meyer and Sanders which upper-bound the total number of reinsertions of vertices into the current bucket and the re-relaxations of their incident light edges, L denotes the eccentricity of the starting vertex and thus is the number of buckets that are processed. Further, corresponds to one plus the maximum number of edges that occur on any traversed path with total weight at most . In other words, is a parameter which upper bounds the number of phases needed to process each nonempty bucket. Finally, denotes the maximum vertex degree of the graph. In the simple parallel implementation of Meyer and Sanders, the log n factor results from the randomized distribution and load balancing of relaxation requests among the processors. Their analysis bounds the load imbalance by per phase with high probability. Further, Meyer and Sanders show that under the additional assumption that edge weights are random (i.e., independent and uniformly distributed in [0,1]), Meyer and Sanders prove that choosing yields that and , and that both bounds also hold with high probability. This leads to simplified bounds of expected work and depth w.h.p. [38]. Since our analysis does not rely on these assumptions, we use the general work-depth bounds stated above throughout the remainder of this paper.
Now let us take a look at the slightly modified version of simple parallel -stepping. As shown in Algorithm A.2, two slight modifications have been made to the algorithm. The first one is lazy updates: The algorithm does not reset the distance array d and thus vertices are only updated if their new distance improves upon the best known previous distance. For a single invocation, this modification can only reduce the number of successful relaxations and does not worsen the asymptotic work or depth bound.
The second modification is a distance cap r, which ensures that an edge is only relaxed if
Copyright © 2027
Algorithm A.2 LAZYCAPPED -STEPPING(G, s, r, d)
Input: Graph , starting vertex s, array of distances d, radius r
Output: stores the smallest known distance to v for every vertex reachable within distance r
1:
2: bucket with single vertex s
3: for i from 0 to do
4: Set of vertices removed from the current bucket
5: while do
6: Snapshot of current bucket
7:
8:
9: par for each light edge with , and do
10: if then
11:
12: Move v into new bucket if necessary v may (re)enter
13: end if
14: end for
15: end while
16: par for each heavy edge with , and do
17: if then
18:
19: Move v into new bucket if necessary v may not (re)enter
20: end if
21: end for
22: end for
. This modification has effects on the work and depth of a single run. The effects are as follows:
-
The explored number of vertices and edges is reduced from n, m to , .
-
Similarly, the number of reinsertions and re-relaxations is reduced from , to , .
-
The number of buckets is reduced from to .
Instead of all vertices and edges, we now have to only consider them when they are within r. Since buckets are only created if at least one vertex is inserted, the number of buckets is also reduced. The following lemma gives the corresponding work and depth bounds for Lazy Capped -stepping.
LEMMA A.2. Lazy Capped -stepping on graphs with arbitrary positive edge weights has work
and depth
Proof. Lazy updates never increase the number of successful relaxations within a single execution and therefore do not worsen the asymptotic work or depth. Introducing a distance cap restricts the computation to vertices and edges within distance r from the source. Consequently, the explored graph is reduced from to , the numbers of reinsertions and re-relaxations become and , and the number of processed buckets decreases from to . Plugging these variables into the original work and depth bounds of Meyer and Sanders yields the result.
Those modifications can be applied to the other SSSP routines with analogous effects on their asymptotic running time. In our implementations, the underlying SSSP routines have the following modifications based on the calling k-center algorithm:
-
MIS based algorithms: SSSP computations use both lazy updates and a distance cap.
-
Farthest point selection based algorithms: SSSP computations only use lazy updates.
Hence, for the remainder of this paper we use the prefixes Lazy or Lazy Capped to indicate whether an SSSP routine employs only lazy updates or both lazy updates and a distance cap, respectively, for example Lazy Dijkstra, Lazy -stepping, Lazy Capped Dijkstra, or Lazy Capped -stepping. Further, we decompose the work of -stepping into two parts: the exploration work, corresponding to vertex visits, edge relaxations, reinsertions, and re-relaxations, and the phase overhead, corresponding to the synchronization cost incurred in each processing phase. We use the following notation throughout the remainder of the paper:
• For Lazy -stepping, let
• For Lazy Capped -stepping, let
• Consequently,
and
A.2 Omitted Proof of Section 4.1
Proof of running time. Consider the -th iteration of the while loop. For each vertex , let be the indicator random variable that denotes whether the global distance of is updated in this round. Keep in mind we use lazy updates, i.e. a vertex is only inserted into a bucket if its best known previously computed distance has been updated.
For the sake of simplicity, before accounting for the remaining work performed by Lazy Capped -stepping, we first analyze the exploration work by isolating the contribution of successful distance decreases analogously to the analysis by Abboud et al. [1]. In the following, we temporarily ignore the distance cap (which can only reduce the explored subgraph) as well as the distinction between light and heavy edges, bucket reinsertions, and re-relaxations within a bucket, instead charging work to vertices whenever their distance is strictly decreased. With that in mind, the total work of Algorithm 4.1 attributable to successful distance decreases is at most
Here we count bucket insertions/moves as work. Other bucket operations such as contention resolution is accounted for separately below. In other words, every time a vertex 's distance is improved, it is inserted into a bucket which means it later has to be processed, i.e. its incident edges are scanned, relaxations and the corresponding bucket operations are performed. Now let and denote the distance and the set before the -th iteration of Algorithm 4.1 respectively. Additionally, let denote the set of all vertices in whose shortest path distance to is less than , i.e. . That is to say that is the set of vertices which would improve the distance of , if one of them were to be selected as the next center. Since is nonincreasing, we have that . Moreover, whenever .
Now suppose vertex is selected as the next center during iteration . If is not an element of , then 's distance will not improve and thus will not contribute any cost during that iteration. Hence, fix and condition on the event . Conditioned on , the chosen is uniform in because is drawn uniformly from . The next set is then exactly since is now the closest center to among all centers selected so far. In other words, is at most the rank of in the sorted list minus one. Since is uniformly random in , the expected size of is at most . Applying Lemma 2.1 of Abboud et al. [1] yields that . Therefore, the expected total work attributable to successful distance decreases is
So far we have only accounted for the work caused by successful distance decreases. Under the distance cap r, the same charging argument applies only to the explored vertices and edges together with their corresponding reinsertions and re-relaxations. Therefore, the expected exploration work becomes
Each Lazy Capped -stepping invocation additionally incurs a phase overhead of . Since the SSSP computations are performed sequentially, this contributes a total work of . Combining both terms yields
Copyright © 2027
which proves the claimed work bound. Since each SSSP computation has depth , the total depth is .
Thus, replacing Lazy Capped Dijkstra by the Lazy Capped -stepping routine changes only the cost of each individual SSSP computation, while the randomized charging argument establishing the expected number of successful distance decreases per vertex remains unchanged. The substitution of Lazy -stepping or Lazy Capped -stepping for the corresponding Dijkstra routine affects the remaining algorithms analogously: Their correctness arguments remain unchanged, and their running time analyses are obtained by replacing the cost of the underlying SSSP routine with the corresponding work and depth bounds established in Section 3.1. We therefore omit these analogous running time analyses for the remaining algorithms.
A.2.1 Abboud MIS Implementation Details
As stated above, the implementation of this algorithm uses both lazy updates and distance caps for its shortest path routines. One important detail concerning algorithms employing a binary search to find a suitable cluster radius is how to realize that binary search. While the naive approach would be to start at , , , ... until the first non-feasible has been found, in practice this is often a vast overestimation, leading to many SSSP calls exploring unnecessarily large portions of the input graph before a suitable can be found. Hence, our implementation first performs a doubling search over candidate radii starting at until a feasible has been found. While a small might still be an underestimation, the resulting SSSP calls are capped at this small radius and thus terminate early, leading to finding the first feasible faster in practice. After that, we continue as expected with a binary search between and until the smallest feasible radius has been found.
A.3 Omitted Proofs of Section 4.2
Proof of Lemma 4.2. We show that after iterations for which is in the -estimation regime (i.e., holds) all heavy vertices have been eliminated w.h.p., which in turn means has decreased by a constant factor. Consider the start of the first round and let denote the remaining vertex set and let
be the heavy vertices at the start of first round.
For round i let denote the heavy vertices that are still heavy at the start of the round. Let
be the factor by which the heavy vertices shrink during round i. Round i is called good if , where , is the constant from Thorup's analysis [49], and is chosen accordingly. Since remains within a constant factor of , by Thorup's analysis, each vertex of is eliminated with probability at least . Hence, linearity of expectation gives
Then, by Markov's inequality,
Hence
Therefore each round is good with probability at least q and this upper bound can be derived independent of the outcome of previous rounds. Let be the indicator variable that round i is good and define
Then .
After good rounds the number of surviving vertices of is at most . Since , all heavy vertices are eliminated once
which holds for
We now choose T large enough that
Then satisfies
and standard Chernoff bound arguments yield
Copyright © 2027
Hence, after rounds, all heavy vertices of the current phase have been eliminated with probability at least . Consequently, no radius-r ball contains at least remaining vertices, implying that decreases by a constant factor.
Proof of Lemma 4.3. We prove the statement inductively over the phases. In the first phase, the algorithm sets , meaning the invariant always holds at the beginning of the first phase.
Now suppose that the invariant holds at the beginning of phase , that is . At the end of the phase, the algorithm sets . We distinguish two cases:
Case 1:
. As is non-increasing (i.e., ), the invariant hold for phase .
Case 2:
. Together with the induction hypothesis, this implies . Note that the value of is not changed during the iterations of the current phase and is non-increasing. Thus, the only possibility for the relationship ceasing to hold is a decrease of to a value below . We can thus apply Lemma 4.2, by which such a decrease must happen within iterations with high probability. Thus, holds as desired with high probability.
We conclude that, conditioned on the invariant holding at the beginning of phase , it also holds at the beginning of phase with probability at least . Since the algorithm performs only phases, a union bound implies that the invariant holds at the beginning of every phase and after every update of with high probability.
Proof of Theorem 4.4. Consider the final of the phases, for which . In that phase, the algorithm sets . By the invariant of Lemma 4.3 we have and thus with high probability. Consequently, the algorithm with high probability sets in its final iteration and terminates directly after because all nodes are removed from . As every phase consists of rounds, the Theorem follows.
Proof. Algorithm 4.2 performs at most phases, each consisting of rounds. Thus, the total number of rounds is . By Lemma 4.3, the invariant holds at the beginning of each phase and immediately after each update of with high probability. Since every vertex belongs to its own distance-r neighborhood, we have whenever . Consequently, with high probability, the algorithm cannot reach while is nonempty. Hence, it terminates without invoking the fallback and the Theorem follows.
A.3.1 Simplified Thorup Implementation Details Just like the algorithm of Abboud et al., the SSSP computations called by this algorithm use lazy updates and the currently guessed r as a distance cap. As in the implementation of Abboud et al.'s algorithm, all weighted shortest path computations use Lazy Capped -stepping. Therefore, the same work and depth bounds from the previous section apply to each shortest path computation. Since our algorithm only succeeds w.h.p., we simply employ the previously described algorithm of Abboud et al. as a fallback which gets invoked if and , i.e. we did not perform enough rounds while was in the correct regime . Abboud's algorithm then uses the already computed independent set as a starting point. Since Abboud's algorithm also employs lazy updates, the distances computed by Thorup's algorithm can be reused directly. The step A.2.3 in Thorup's algorithm [49] was realized through multi-source variants of our SSSP routines capped at distance r to identify the vertices that form the set T. Step A.2.5 (removing all vertices from W at distance to any vertex in U) was implemented analogously.
A.4 Gonzalez Implementation Details While the 2-approximation of Gonzalez holds for an arbitrary choice of the first center, we select it uniformly at random to also avoid being biased by the sequence in which the input of a dataset is given. On weighted graphs, the implementation uses Lazy Dijkstra in the sequential setting and Lazy -stepping in the parallel setting. Since Gonzalez's algorithm is not radius based, we do not employ a distance cap here. The implementation is therefore straightforward.
A.5 Augmented SSSP and Approximate Gonzalez Implementation Details Since all the augmented SSSP routines have to do in addition to the distance computation is the book keeping of the bags, they just use a flag to switch bag maintenance on/off. The parameter which determines can be passed manually. The rest of the implementation is straightforward.
A.6 Algorithmic Parameter Choices As mentioned, we performed tests on a few instances before the actual experiments to determine algorithm-specific
In theory, a polylogarithmic depth bound can be obtained by instead employing the following fallback: First, compute the all-pairs distances using a repeated squaring approach, then use a parallel MIS algorithm inside of the Hochbaum-Shmoys algorithm. This approach has polynomial work bound but is only use with small enough probability
Algorithm A.3 AUGM.DIJKSTRA(G, u, d, , )
Input: Graph , starting vertex , distance array , bags
Output: Updated distances and bags
1:
2: priority queue containing
3: while do
4:
5: Q.DELETEMIN()
6: for all do
7: if then
8:
9:
10:
11: Q.DECREASEKEY( )
12: end if
13: end for
14: end while
parameter choices. The goal was to fix these parameters for the full experimental sweep over all instances. Since the algorithms of Gonzalez as well as the maximal distance-r independent set algorithm by Abboud et al. do not have such parameters, they are not listed here. Since these tests were done prior to the full experimental sweep across all instances, the timeouts chosen may differ for each graph class. We now discuss the results of these preliminary tests.
A.6.1 -stepping This SSSP routine has a parameter which determines the width of the distance buckets, i.e. the -th bucket contains all vertices satisfying . We tested different values for a variety of smaller and larger weighted graphs, both sparse and dense.
Gonzalez Approx. Gonzalez Abboud MIS

(a)
(b)

(c)
(d)

(e)
(f)

(g)
(h)

(i)
(j)

(k)
(1)
Figure A.1: Influence of the bucket width on the running time of the parallel weighted implementations copyright © 2027
implementations copyright for this paper is retained by authors
The results indicate that the choice of only has a minor influence on the running time across all algorithms and instances tested. For most configurations, the running times vary by at most approximately 10%, and many of the absolute differences are below one second. The Simplified Thorup algorithm does not appear in these plots, since its execution time was generally higher than its competitors on graphs with high diameter which would therefore make these plots not as visually clear. However, the results was similar in that different values of did not substantially affect the running time. Hence, we use throughout the remaining experiments.
A.6.2 Approximate Gonzalez This algorithm has a parameter which determines the size of the buckets used to select the next center.

(a) Running time

(b) Solution quality relative to vanilla Gonzalez
Figure A.2: Influence of the approximation parameter on the -Approximate Gonzalez algorithm for a weighted synthetic graph with and . All measurements use parallel execution with 64 threads.

(a) LiveJournal: time
(b) YouTube: time

(c) Orkut: time
(d) USA-central: time

(e) LiveJournal: quality
(f) YouTube: quality

(g) Orkut: quality
(h) USA-central: quality
Figure A.3: Influence of the approximation parameter on the parallel -Approximate Gonzalez algorithm for four real-world graphs.
Our tests have shown that a high value of such as does not improve the running time significantly on any of the test instances. However, there is an impact on the solution quality for different on all instances. While it seems that on dense graphs a low produces a better radius, on sparse weighted graphs with high diameter such as USA-central we observed that a higher value of actually improved the solution quality even beyond the Gonzalez radius used as a baseline. We think this is due to the fact that because this graph is very sparse ( ), the increased bag size caused by higher values combined with the randomization leads to a better selection of centers than picking the exact farthest vertex. Hence, for our full experimental sweep we chose for road network graphs and for all other graphs.
A.6.3 Simplified Thorup's Algorithm As mentioned previously, because our version of Thorup's algorithm does not use Cohen's near-linear-time size estimator, we can choose to be a constant.

(a) , unw.
(b) , unw.

(c) , unw.
(d)
unw.

(e) , wgh.
(f) , wgh.

(g) , wgh.
(h) , wgh.
Figure A.4: Influence of the number of rounds per phase on the running time of the Simplified Thorup algorithm on large synthetic graphs. A red ring marks configurations in which the fallback algorithm was invoked. An × denotes a run that reached the test timeout. All measurements use 64 threads and parallel execution.
The number of rounds per phase (rpp), i.e. per guessed value of , should theoretically scale with to obtain the desired high-probability guarantee. In practice, however, the fallback algorithm was triggered only rarely, even with and a small constant number of rounds per phase. We therefore choose , which halves the guessed value of after each phase and therefore minimizes the number of phases. We set the number of rounds per phase to 4, which provides the best running time among the tested choices without entering fallbacks. Note that this constant number of rounds per phase is an empirical optimization and does not satisfy the assumptions of the high probability termination guarantee in Theorem 4.4 which requires rounds per phase.
A.6.4 Parallelism on Small Synthetic Graphs On the small synthetic graphs, parallelization does not pay off. Compared with their single-core executions, all algorithms either achieve only minor improvements or become substantially slower. For graphs of this size, the overhead of parallel execution dominates the computation, independently of the value of k.
A.6.5 Parallelism on Large Synthetic Graphs On the large synthetic graphs we can observe a different picture: With the exception of Abboud MIS for large values of k, all algorithms significantly benefit from parallelism. For the lower value k = 200, the two Gonzalez algorithms improve their running times by a factor of roughly 2. Abboud MIS also improves by a factor of 2 - 5, depending on the density of the instance. The Simplified Thorup algorithm improves significantly on unweighted graphs. However, on weighted graphs this algorithm struggles a lot, timing out on most runs even on large thread counts and finishing far behind all other algorithms when the runs did finish. We believe that this difference is caused by the interaction between the number of candidate radii, the number of phases performed by the algorithm and the cost of its multi-source SSSP computations. Unweighted instances generally have smaller distance ranges which in turn tends to reduce the number of feasibility checks. Within each feasibility check, the multi-source SSSP computations benefit substantially from parallelism. On weighted graphs, the larger distance range and more expensive capped shortest-path computations cause the additional phases to dominate the running time. All improvements seem to stagnate around 64 threads. Executions with 128 threads do not yield significant improvements (if any). This suggests that, beyond this point, synchronization and memory bandwidth overhead outweigh the additional available parallelism.
For larger values of k approaching , the farthest point based algorithms keep their improvements by similar margins. However, Abboud MIS now performs substantially worse on sparse graphs in the parallel execution than the single-core variant. We believe this is due to both the nature of the algorithm as well as

(a) , unw.

(b)
unw.

(c) , unw.

(d)
unw.

(e) , wgh.

(f) , wgh.

(g)
wgh.

(h)
wgh.
Figure A.5: Parallel scaling on small synthetic graphs with . Each row corresponds to one graph and each column to one value of k. The lower left corner of the x-axis represents single-core variants.
Gonzalez Approx. Gonzalez Abboud MIS Simplified Thorup

(a) , unw.
(b) , unw.

(c) , wgh.
(d) , wgh.

(e) , wgh.
(f)
wgh.
Figure A.6: Parallel scaling on large synthetic graphs with , using the same layout as Figure A.5
Copyright © 2027 our implementation of the binary search: Starting with , the algorithm now performs many SSSP calls of very low depth, each causing a parallel overhead. Since sparse graphs tend to have a high diameter, many candidate radii are needed, each entailing the same process. On sufficiently dense instances, the explored regions become larger and parallelism begins to pay off again, as shown in Figure A.6, subfigure (f). The simplified Thorup algorithm shows a related trend for larger values of : it benefits significantly from parallelism on unweighted graphs, but the additional feasibility checks and phases on weighted graphs still cause most configurations to time out.
A.6.6 Small Synthetic Graphs We first analyze the running times on the small generated graphs with . We consider increasing values of k up to approximately . Since the preceding experiments showed that parallelism does not pay off at this graph size, all results in Figure A.7 use single-core execution.
All algorithms finish quickly on the unweighted instances, with the longest executions taking approximately one second for Simplified Thorup on sparse graphs. As the density increases, the diameter decreases, reducing the number of feasibility checks required by the MIS-based algorithms. Consequently, their running times decrease. For large k, Abboud MIS even outperforms both Gonzalez variants, as shown in Figure A.7, subfigures (d)–(f).
On the weighted instances, the MIS-based algorithms perform worse than the farthest-point-based approaches. This is not surprising, since the larger distance range causes the search for the smallest feasible radius to require more candidate radii. However, the running times of the MIS-based algorithms remain relatively stable as the density increases. This can be explained by two opposing effects. On the one hand, higher density generally reduces the graph diameter and therefore the number of feasibility checks. On the other hand, it increases the work performed by each SSSP computation. For graphs of this size, these two effects appear to approximately balance each other out.
For the solution-quality plots, Gonzalez defines the baseline at 100%. The k-center radius returned by each other algorithm is reported relative to that of Gonzalez for the same graph and value of k.
On the unweighted instances, the radii returned by the algorithms differ by an absolute value of at most 1, while the reported radii themselves are typically between 5 and 7. The MIS-based algorithms produce a smaller radius than Gonzalez in two configurations,

(a) , unw.
(b) , unw.

(c) , unw.
(d) , unw.

(e) , unw.
(f) , unw.

(g) , wgh.
(h) , wgh.

(i) , wgh.
(j) , wgh.

(k) , wgh.
(1) , wgh.
Figure A.7: Running times on small synthetic graphs of size . All algorithms were executed in single-core mode only.
Copyright © 2027

(a) , unw.
(b) , unw.

(c) , unw.
(d) , unw.

(e) , unw.
(f) , unw.

(g) , wgh.
(h) , wgh.

(i) , wgh.
(j) , wgh.

(k) , wgh.
(1) , wgh.
Figure A.8: Solution quality on small synthetic graphs of size , measured as the radius returned by each algorithm relative to the radius returned by Gonzalez for the same graph and value of k.
whereas Approximate Gonzalez produces a radius larger by 1 in one configuration.
On the weighted graphs, the same tendency is more visible because the k-center radii reported range from approximately 1000 on the densest instances to around 50000 on the sparsest instances. Approximate Gonzalez typically returns solutions that are 2–5% worse than the Gonzalez baseline. The MIS-based algorithms, in contrast, occasionally improve upon Gonzalez by approximately 2%. Recall that Gonzalez is itself only a 2-approximation algorithm. It is plausible that the randomized MIS-based algorithms therefore occasionally find a better center set.
A.6.7 Large Synthetic Graphs Our experimental evaluation continues on the large generated instances with . The preceding scaling experiments showed that parallel execution generally improves the running times on graphs of this size. Abboud MIS is an exception for large k, where the overhead of its many sequentially invoked, shallow SSSP computations exploring only small neighborhoods can make the single-core implementation faster. Because of this, for larger graphs, the plots show Abboud MIS' running time performance in parallel mode whenever k is small and in single-core mode once k becomes too large. This is shown in figure A.9 by having a dark green dot whenever Abboud MIS is executed in parallel mode and a light green dot when executed in single-core mode.
The running-time results are generally consistent with the preceding observations. The farthest-point-based approaches remain relatively close in performance and finish quickly across all instances. The performance of the MIS-based algorithms depends much more on the distance range and diameter of the graph because these determine the number and cost of the feasibility checks. Consequently, the MIS-based algorithms perform particularly well on unweighted graphs, especially at higher densities. For sufficiently large k, Simplified Thorup even outperforms all farthest-point-based approaches on the dense unweighted instances, as shown in Figure A.9, subfigures (d)–(f).
On the weighted instances, the MIS-based algorithms require substantially more feasibility checks and therefore fall behind the farthest-point-based approaches. Among the latter, Gonzalez generally achieves the best running time.
The solution quality plots also confirm the trends shown on the small synthetic graphs. The reason the instances are omitted in Figure A.10 is because the graphs generated with this density contained too
Copyright © 2027
Gonzalez Abboud MIS (parallel) Simplified Thorup Approx. Gonzalez Abboud MIS (single-core) Timeout (10800 s)

(a) , unw.
(b) , unw.

(c) , unw.
(d) , unw.

(e) , unw.
(f) , unw.

(g) , wgh.
(h) , wgh.

(i) , wgh.
(j) , wgh.

(k) , wgh.
(1) , wgh.
Figure A.9: Running times on large synthetic graphs with . Each algorithm uses parallel execution with 64 threads except Abboud MIS: Each point shows the faster result of the parallel (dark) and single-core (light) runs.
Gonzalez Approx. Gonzalez Abboud MIS Simplified Thorup

(a) , unw.
(b) , unw.

(c) , unw.
(d) , unw.

(e) , unw.
(f) , wgh.

(g) , wgh.
(h) , wgh.

(i) , wgh.
(j) , wgh.
Figure A.10: Solution quality on large synthetic graphs with , measured as the radius returned by each algorithm relative to the radius returned by Gonzalez for the same graph and value of k. Missing points correspond to configurations that reached the timeout.
Copyright © 2027

(a) DBLP
(b) YouTube

(c) LiveJournal
(d) Orkut

(e) Twitter
(f) Friendster
Figure A.11: Solution quality on the six social-network instances. The k-center radius returned by each algorithm is reported relative to the one reported by Gonzalez for the same graph and value of k. The dashed line marks equality with Gonzalez. Missing points correspond to configurations that reached the timeout.
many connected components and thus all algorithms reported a radius of . On unweighted instances of higher density, all algorithms are very close and differ by an absolute value of at most 1 as the k-center radii returned by the algorithms on these instances range approximately from 3 to 12.
On the weighted instances, Approximate Gonzalez consistently reports worse radii than Gonzalez. Simplified Thorup also performs worse on sparse weighted instances, but its relative solution quality improves as the density increases. On the dense instances, it improves upon the Gonzalez baseline by up to 13% as shown in Figure A.10, subfigure (h). For sufficiently large k, Abboud MIS also reports radii approximately 2% smaller than Gonzalez. Across these instances, the reported k-center radii range from approximately 1800 to 50000.
A.7 Social Networks Solution Quality The quality of solution plots show that for these instances, all algorithms reported identical radii for all values of

(a) libimseti
(b) MovieLens

(c) Yahoo! Song
Figure A.12: Running times on the three rating graphs. All algorithms use parallel execution with 64 threads.
k except the Simplified Thorup algorithm. Although the relative differences for Simplified Thorup appear large, they should be interpreted in the context of the small absolute radius on these unweighted, low-diameter graphs. Even a difference of two in the reported radius can correspond to a relative improvement of 40%. For example, Figure A.11 subfigure (d) shows that for k = 500, Simplified Thorup reports a k-center solution of only roughly 60% of the Gonzalez baseline. In absolute terms, however, Simplified Thorup reported a radius of 3 here vs. the reported Gonzalez radius of 5.
A.7.1 Other Networks Lastly, we evaluate our algorithms on three additional real world weighted networks. Unlike the road networks, these graphs are extremely dense and their edge weights originate from transformed ratings, resulting in relatively small edge weights. We observe that in terms of running time, the farthest-point algorithms again come out on top. Although these graphs are very dense, which generally favors the MIS-based approaches, their weighted nature increases the number of candidate radii that must be tested during the feasibility search which seems to offset the benefit from the increased density.
The solution qualities of all algorithms are also very similar on these instances. In absolute terms, the reported radii on libimseti and MovieLens range from approximately 13 to 17, while on Yahoo! Song they range from roughly 85 to 120 for the different values of k. This also yields that the differences shown in Figure A.13 correspond to small absolute differences. For example, the 8% gap between Simplified Thorup and Gonzalez in Figure A.13, subfigure (a), for k = 100

Number of centers k
Number of centers k
(a) libimseti
(b) MovieLens

Number of centers k
(c) Yahoo! Song
Figure A.13: Solution quality on the three additional network instances. The k-center solution returned by each algorithm is reported relative to the solution reported by Gonzalez for the same graph and value of k.
corresponds to an absolute radius difference of only 1.
References
[1] A. ABBOUD, V. COHEN-ADDAD, E. LEE, AND P. MANURANGSI, On the fine-grained complexity of approximating k-center in sparse graphs, in 2023 Symposium on Simplicity in Algorithms, SOSA 2023, Florence, Italy, January 23-25, 2023, T. Kavitha and K. Mehlhorn, eds., SIAM, 2023, pp. 145–155, https://doi.org/10.1137/1.9781611977585.CH14.
[2] Y. AFEK, N. ALON, Z. BAR-JOSEPH, A. CORNEJO, B. HAEUPLER, AND F. KUHN, Beeping a maximal independent set, Distributed Comput., 26 (2013), pp. 195–208, https://doi.org/10.1007/S00446-012-0175-7.
[3] C. C. AGGARWAL AND C. K. REDDY, eds., Data Clustering: Algorithms and Applications, CRC Press, 2014.
[4] A. ANDONI, C. STEIN, AND P. ZHONG, Parallel approximate undirected shortest paths via low hop emulators, in Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, Chicago, IL, USA, June 22-26, 2020, K. Makarychev, Y. Makarychev, M. Tulsiani, G. Kamath, and J. Chuzhoy, eds., ACM, 2020, pp. 322–335, https://doi.org/10.1145/3357713.3384321.
[5] V. ASHVINKUMAR, A. BERNSTEIN, M. P. GUTENBERG, AND T. SARANURAK, Parallel reachability and shortest paths on non-sparse digraphs: Near-linear work and sub-square-root depth, in 53rd International Colloquium on Automata, Languages, and Programming, ICALP 2026, Royal Holloway, University of London, Egham, United Kingdom, July 7-10, 2026, S. Bhattacharya, D. Nanongkai, M. Benedikt, and G. Puppis, eds., vol. 374 of LIPIcs, Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2026, pp. 15:1–15:22, https://doi.org/10.4230/LIPICS.ICALP.2026.15.
[6] D. A. BADER, ed., DIMACS Implementation Challenge – The Shortest Path Problem, vol. 74 of DIMACS Series in Discrete Mathematics and Theoretical Computer Science, American Mathematical Society, 2009.
[7] M. BATENI, H. ESFANDIARI, H. FICHTENBERGER, M. HENZINGER, R. JAYARAM, V. MIRROKNI, AND A. WIESE, Optimal fully dynamic k-center clustering for adaptive and oblivious adversaries, in Proceedings of the 2023 ACM-SIAM Symposium on Discrete Algorithms, SODA 2023, Florence, Italy, January 22-25, 2023, N. Bansal and V. Nagarajan, eds., SIAM, 2023, pp. 2677–2727, https://doi.org/10.1137/1.9781611977554.CH101.
[8] G. E. BLELLOCH, Programming parallel algorithms, Communications of the ACM, 39 (1996), pp. 85–97, https://doi.org/10.1145/227234.227246.
[9] R. P. BRENT, The parallel evaluation of general arithmetic expressions, J. ACM, 21(1974), pp. 201–206, https://doi.org/10.1145/321812.321815.
[10] N. CAO AND J. T. FINEMAN, Parallel exact shortest paths in almost linear work and square root depth, in Proceedings of the 2023 ACM-SIAM Symposium on Discrete Algorithms, SODA 2023, Florence, Italy, January 22-25, 2023, N. Bansal and V. Nagarajan, eds., SIAM, 2023, pp. 4354–4372, https://doi.org/10.1137/1.9781611977554.CH166.
[11] L. CASTRO, T. CLEMENTINO, AND R. DE FREITAS, Implementation and brief experimental analysis of the duan et al. (2025) algorithm for single-source shortest paths, CoRR, abs/2511.03007 (2025), https://arxiv.org/abs/2511.03007.
[12] E. COHEN, Size-estimation framework with applications to transitive closure and reachability, J. Comput. Syst. Sci., 55 (1997), pp. 441–453, https://doi.org/10.1006/JCSS.1997.1534.
[13] C. DEMETRESCU, S. EMILIOZZI, AND G. F. ITALIANO, Experimental analysis of dynamic all pairs shortest path algorithms, in Proceedings of the Fifteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2004, New Orleans, Louisiana, USA, January 11-14, 2004, J. I. Munro, ed., SIAM, 2004, pp. 369–378.
[14] L. DHULIPALA, J. SHI, T. TSENG, G. E. BLELLOCH, AND J. SHUN, The graph based benchmark suite (GBBS), in GRADES-NDA'20: Proceedings of the 3rd Joint International Workshop on Graph Data Management Experiences & Systems (GRADES) and Network Data Analytics (NDA), Portland, OR, USA, June 14, 2020, A. Arora, S. Salihoglu, and N. Yakovets, eds., ACM, 2020, pp. 11:1–11:8, https://doi.org/10.1145/3398682.3399168.
[15] X. DONG, Y. GU, Y. SUN, AND Y. ZHANG, Efficient stepping algorithms and implementations for parallel shortest paths, in SPAA '21: 33rd ACM Symposium on Parallelism in Algorithms and Architectures, Virtual Event, USA, 6-8 July, 2021, K. Agrawal and Y. Azar, eds., ACM, 2021, pp. 184–197, https://doi.org/10.1145/3409964.3461782.
[16] R. DUAN, J. MAO, X. MAO, X. SHU, AND L. YIN, Breaking the sorting barrier for directed single-source shortest paths, in Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC 2025, Prague, Czechia, June 23-27, 2025, M. Koucký and N. Bansal, eds., ACM, 2025, pp. 36–44, https://doi.org/10.1145/3717823.3718179.
[17] R. DUAN, J. MAO, X. SHU, AND L. YIN, A randomized algorithm for single-source shortest path on undirected real-weighted graphs, in 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6-9, 2023, IEEE, 2023, pp. 484–492, https://doi.org/10.1109/FOCS57990.2023.00035.
[18] R. DUAN, X. MAO, X. SHU, AND L. YIN, A faster directed single-source shortest path algorithm, in 53rd International Colloquium on Automata, Languages, and Programming, ICALP 2026, Royal Holloway, University of London, Egham, United Kingdom, July 7-10, 2026, S. Bhattacharya, D. Nanongkai, M. Benedikt, and G. Puppis, eds., vol. 374 of LIPIcs, Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2026, pp. 81:1–81:23, https://doi.org/10.4230/LIPICS.ICALP.2026.81.
[19] M. DYER AND A. FRIEZE, A simple heuristic for the p-center problem, Operations Research Letters, 3 (1985), pp. 285–288, https://doi.org/10.1016/0167-6377(85)90002-1.
[20] D. EPPSTEIN, S. HAR-PELED, AND A. SIDIROPOULOS, Approximate greedy clustering and distance selection for graph metrics, J. Comput. Geom., 11 (2020), pp. 629–652, https://doi.org/10.20382/JOCG.V11I1A25, https://doi.org/10.20382/jocg.v11i1a25.
[21] S. FORSTER, Y. NAZARI, R. R. K. N., AND A. SKARLATOS, Faster randomized and deterministic k-clustering on graphs, CoRR, abs/2607.07615 (2026), https://arxiv.org/abs/2607.07615.
[22] D. FRIGIONI, M. IOFFREDA, U. NANNI, AND G. PASQUALONE, Experimental analysis of dynamic algorithms for the single-source shortest-path problem, ACM J. Exp. Algorithms, 3 (1998), p. 5, https://doi.org/10.1145/297096.297147.
[23] J. GARCIA-DIAZ, R. MENCHACA-MÉNDEZ, R. MENCHACA-MÉNDEZ, S. E. P. HERNÁNDEZ, J. C. P. SANSALVADOR, AND N. LAKOUARI, Approximation algorithms for the vertex k-center problem: Survey and experimental evaluation, IEEE Access, 7 (2019), pp. 109228–109245, https://doi.org/10.1109/ACCESS.2019.2933875.
[24] T. F. GONZALEZ, Clustering to minimize the maximum intercluster distance, Theor. Comput. Sci., 38 (1985), pp. 293–306, https://doi.org/10.1016/0304-3975(85)90224-5.
[25] A. GÓRKIEWICZ AND A. KARCZMARZ, On incremental approximate shortest paths in directed graphs, in 52nd International Colloquium on Automata, Languages, and Programming, ICALP 2025, Aarhus, Denmark, July 8-11, 2025, K. Censor-Hillel, F. Grandoni, J. Ouaknine, and G. Puppis, eds., vol. 334 of LIPIcs, Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2025, pp. 93:1–93:20, https://doi.org/10.4230/LIPICS.ICALP.2025.93.
[26] C. GRUNAU, R. KYNG, AND G. ZUZIC, Acceleration for distributed transshipment and parallel maximum flow, CoRR, abs/2511.06581 (2025), https://arxiv.org/abs/2511.06581.
[27] F. M. HARPER AND J. A. KONSTAN, The movie-lens datasets: History and context, ACM Trans. Interact. Intell. Syst., 5 (2016), pp. 19:1–19:19, https://doi.org/10.1145/2827872, https://doi.org/10.1145/2827872.
[28] M. HENZINGER, A. NOE, C. SCHULZ, AND D. STRASH, Finding all global minimum cuts in practice, in 28th Annual European Symposium on Algorithms, ESA 2020, Pisa, Italy (Virtual Conference), September 7-9, 2020, F. Grandoni, G. Herman, and P. Sanders, eds., vol. 173 of LIPIcs, Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020, pp. 59:1–59:20, https://doi.org/10.4230/LIPICS.ESA.2020.59.
[29] D. S. HOCHBAUM AND D. B. SHMOYS, A best possible heuristic for the k-center problem, Math. Oper. Res., 10 (1985), pp. 180–184, https://doi.org/10.1287/MOOR.10.2.180.
[30] W. HSU AND G. L. NEMHAUSER, Easy and hard bottleneck location problems, Discret. Appl. Math., 1 (1979), pp. 209–215, https://doi.org/10.1016/0166-218X(79)90044-1.
[31] A. K. JAIN, M. N. MURTY, AND P. J. FLYNN, Data clustering: A review, ACM Comput. Surv., 31 (1999), pp. 264–323, https://doi.org/10.1145/331499.331504.
[32] J. KOGAN, C. K. NICHOLAS, AND M. TEBOULLE, eds., Grouping Multidimensional Data - Recent Advances in Clustering, Springer, 2006, https://doi.org/10.1007/3-540-28349-8.
[33] V. KRALEV, R. KRALEVA, V. ANKOV, AND D. CHAKALOV, An analysis between exact and approximate algorithms for the k-center problem in graphs, International Journal of Electrical and Computer Engineering, 12 (2021), pp. 2058–2064, https://doi.org/10.11591/ijece.v12i2.pp2058-2065.
[34] J. KUNEGIS, KONECT: the koblenz network collection, in 22nd International World Wide Web Conference, WWW '13, Rio de Janeiro, Brazil, May 13-17, 2013, Companion Volume, L. Carr, A. H. F. Laender, B. F. Lóscio, I. King, M. Fontoura, D. Vrandecic, L. Aroyo, J. P. M. de Oliveira, F. Lima, and E. Wilde, eds., International World Wide Web Conferences Steering Committee / ACM, 2013, pp. 1343–1350, https://doi.org/10.1145/2487788.2488173, https://doi.org/10.1145/2487788.2488173.
[35] J. LESKOVEC AND R. SOSIC, SNAP: A general-purpose network analysis and graph-mining library, ACM Trans. Intell. Syst. Technol., 8 (2016), pp. 1:1–1:20, https://doi.org/10.1145/2898361.
[36] J. LI, Faster parallel algorithm for approximate shortest path, in Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of
Computing, STOC 2020, Chicago, IL, USA, June 22-26, 2020, K. Makarychev, Y. Makarychev, M. Tulsiani, G. Kamath, and J. Chuzhoy, eds., ACM, 2020, pp. 308–321, https://doi.org/10.1145/3357713.3384268.
[37] Q. C. LIU, J. SHI, S. YU, L. DHULIPALA, AND J. SHUN, Parallel batch-dynamic algorithms for k-core decomposition and related graph problems, in SPAA '22: 34th ACM Symposium on Parallelism in Algorithms and Architectures, Philadelphia, PA, USA, July 11 - 14, 2022, K. Agrawal and I. A. Lee, eds., ACM, 2022, pp. 191–204, https://doi.org/10.1145/3490148.3538569.
[38] U. MEYER AND P. SANDERS, -stepping: a parallelizable shortest path algorithm, J. Algorithms, 49 (2003), pp. 114–152, https://doi.org/10.1016/S0196-6774(03)00076-2.
[39] J. MIHELIC AND B. ROBIC, Solving the k-center problem efficiently with a dominating set algorithm, J. Comput. Inf. Technol., 13 (2005), pp. 225–234, https://doi.org/10.2498/CIT.2005.03.05.
[40] M. PATHAK, Y. SABHARWAL, AND N. GUPTA, Scalable algorithms for compact spanners on real world graphs, in Proceedings of the 37th International Conference on Supercomputing, ICS 2023, Orlando, FL, USA, June 21-23, 2023, K. A. Gallivan, E. Gallopoulos, D. S. Nikolopoulos, and R. Beivide, eds., ACM, 2023, pp. 386–397, https://doi.org/10.1145/3577193.3593727.
[41] J. PLESNÍK, A heuristic for the p-center problems in graphs, Discret. Appl. Math., 17 (1987), pp. 263–268, https://doi.org/10.1016/0166-218X(87)90029-1.
[42] G. RAMALINGAM AND T. W. REPS, An incremental algorithm for a generalization of the shortest-path problem, J. Algorithms, 21 (1996), pp. 267–305, https://doi.org/10.1006/JAGM.1996.0046.
[43] R. A. ROSSI AND N. K. AHMED, The network data repository with interactive graph analytics and visualization, in Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence, 2015, pp. 4292–4293.
[44] V. ROZHON, C. GRUNAU, B. HAEUPLER, G. ZUZIC, AND J. LI, Undirected -shortest paths via minor-aggregates: near-optimal deterministic parallel and distributed algorithms, in STOC '22: 54th Annual ACM SIGACT Symposium on Theory of Computing, Rome, Italy, June
Copyright © 2027
20 - 24, 2022, S. Leonardi and A. Gupta, eds., ACM, 2022, pp. 478–487, https://doi.org/10.1145/3519935.3520074.
[45] V. ROZHON, B. HAEUPLER, A. MARTINSSON, C. GRUNAU, AND G. ZUZIC, Parallel breadth-first search and exact shortest paths and stronger notions for approximate distances, in Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, Orlando, FL, USA, June 20-23, 2023, B. Saha and R. A. Servedio, eds., ACM, 2023, pp. 321–334, https://doi.org/10.1145/3564246.3585235.
[46] P. SANDERS AND D. STRASH, Programming Parallel Algorithms, 2024, https://ae.iti.kit.edu/documents/people/sanders/aeModels.pdf.
[47] P. SUKPRASERT, Q. C. LIU, L. DHULIPALA, AND J. SHUN, Practical parallel algorithms for near-optimal densest subgraphs on massive graphs, CoRR, abs/2311.04333 (2023), https://doi.org/10.48550/ARXIV.2311.04333, https://arxiv.org/abs/2311.04333.
[48] M. THORUP, Undirected single-source shortest paths with positive integer weights in linear time, J. ACM, 46 (1999), pp. 362–394, https://doi.org/10.1145/316542.316548.
[49] M. THORUP, Quick k-median, k-center, and facility location for sparse graphs, SIAM J. Comput., 34 (2004), pp. 405–432, https://doi.org/10.1137/S0097539701388884, https://doi.org/10.1137/S0097539701388884.