@@ -144,7 +144,7 @@ \subsection{Experimental Setup}
144
144
To evaluate the performance of this proposed library, we compare its reference implementation
145
145
(\textbf {std::graph }) against \textbf {boost::graph } and NWGraph on a subset of the GAP Benchmark Suite\cite {gapbs_2023 }.
146
146
This comparison includes four of the five GAP algorithms that are in the tier 1 algorithm list of this proposal:
147
- triangle counting (TC), weak connected components (CC), breadth-first search (BFS),
147
+ triangle counting (TC), connected components (CC), breadth-first search (BFS),
148
148
and single-source shortest paths (SSSP).
149
149
Table~\ref {tab:gap_graphs } summarizes the graphs specified by the GAP benchmark.
150
150
These graphs were chosen to be large but still fit on shared memory machines and have edge counts in the billions.
@@ -175,7 +175,14 @@ \subsection{Experimental Setup}
175
175
NWGraph and \textbf {std::graph } were compiled with gcc 13.2 using -Ofast -march=native compilation flags.
176
176
177
177
Even though NWGraph contains an implementation of Dijkstra, the SSSP results in \cite {REF_nwgraph_library }
178
- were based on delta-stepping. For this comparison, \textbf {std::graph } and NWgraph both use Dijkstra.
178
+ were based on delta-stepping. For this comparison, \textbf {std::graph } and NWGraph both use Dijkstra.
179
+ The NWGraph implementations also used a version of SSSP which did not compute
180
+ a predecessor map, only providing the final distances.
181
+ \textbf {std::graph } provides SSSP without predecessors called $ dijkstra\_ shortest\_ distances$ which is similar to the Dijkstra in
182
+ Figure~\ref {fig:ssspsyntax } with the predecessor argument omitted.
183
+ \textbf {boost::graph } can also compute shortest distances only by omitting the predecessor map.
184
+ We use the shortest distance version for these experiments.
185
+
179
186
The NWGraph and \textbf {std::graph } implementation of CC is based on the Afforest \cite {sutton2018optimizing } algorithm.
180
187
While BFS and SSSP implementations are very similar for NWGraph and \textbf {std::graph }, the latter contains
181
188
support for event-based visitors.
0 commit comments