64#ifndef __ADS_ParallelGreedy
65 #define __ADS_ParallelGreedy
95 unsigned long long seed );
127template< Executor E ,
class W >
128[[nodiscard]] std::vector< int >
153template< Executor E ,
class W >
154[[nodiscard]] std::vector< int >
172template< Executor E >
173[[nodiscard]] std::vector< int >
175 const std::vector< std::pair< int , int > > & A );
201template< Executor E ,
class W , ArcLayout AL >
202[[nodiscard]] std::vector< int >
204 const std::vector< int > & pi );
234template< Executor E >
235[[nodiscard]] std::vector< int >
237 const std::vector< std::pair< int , int > > & A ,
238 const std::vector< int > & pi );
248#include "ADS/parallel/impl/ParallelGreedy.tpp"
The contracts of ADS: the preconditions, the postconditions and the invariants of the operations,...
The layer of execution of the parallel algorithms of ADS, beyond the book: an executor runs the calls...
The minimum spanning tree of an unoriented connected graph with weights on the edges (section 14....
The parallel sorts, beyond the book: sort( ex , A , less ) and stableSort( ex , A ,...
The deterministic reservations of Blelloch, Fineman, Gibbons and Shun, beyond the book: speculativeFo...
A static GRAPH for the engineered algorithms, beyond the book [see Graph.h]: the compressed sparse ro...
a static graph in compressed sparse rows, the arcs of each node sorted by head, their heads and their...
Definition StaticGraph.h:275
std::vector< int > maximalMatching(E &ex, int n, const std::vector< std::pair< int, int > > &A, const std::vector< int > &pi)
the places in of the edges of the greedy maximal matching in the order of the edges (the edge firs...
std::vector< int > randomOrder(int n, unsigned long long seed)
a random permutation of from the seed, the same on every machine (the shuffle of Fisher and Yates on...
std::vector< int > parallelKruskal(E &ex, int n, const std::vector< WeightedEdge< W > > &A)
the places in of the edges of the minimum spanning forest that Kruskal gives on the order ,...
std::vector< int > filterKruskal(E &ex, int n, const std::vector< WeightedEdge< W > > &A)
the forest of parallelKruskal() above, by filter-Kruskal
std::vector< int > maximalIndependentSet(E &ex, const StaticGraph< W, AL > &g, const std::vector< int > &pi)
the nodes of the greedy maximal independent set of in the order (the node first),...
std::vector< int > spanningForest(E &ex, int n, const std::vector< std::pair< int, int > > &A)
the places in of the edges of the spanning forest of the greedy algorithm in the order of ,...
an edge of weight
Definition MinimumSpanningTree.h:94