Declared in <graph/Atomic_edge_list.hpp>
:
class Atomic_edge_list;
Satisfies the Graph
concept using a classical edge list data structure adapted for parallel domains.
All const
methods and those prefixed with atomic_*
guarantee atomicity.
In addition to the members required by the Graph
concept, Atomic_edge_list
provides functions to facilitate mutation.
Vertices | ||
---|---|---|
insert_vert() |
Vert |
constructs a new vertex |
reserve_verts(Order n) |
ensures that vertices can be inserted atomically up to order n |
|
atomic_insert_vert() |
Vert |
atomically constructs a new vertex |
Edges | ||
---|---|---|
insert_edge(Vert s, Vert t) |
Edge |
constructs a new edge with tail s and head t |
reserve_edges(Size n) |
ensures that edges can be inserted atomically up to size n |
|
atomic_insert_edge(Vert s, Vert t) |
Edge |
atomically constructs a new edge with tail s and head t |