Graph's base-container. Inherits all functionality from either graph_base_container_base or graph_base_container_NME class.
More...
|
template<typename Domain > |
| graph_base_container (Domain const &domain, cid_type const &cid) |
| Creates a graph base container with a given size and domain. More...
|
|
template<typename Domain > |
| graph_base_container (Domain const &domain, cid_type const &cid, value_type const &default_value) |
| Creates a graph base container with a given size and domain and constructs all elements with a default value for vertex. More...
|
|
| graph_base_container (graph_base_container const &other) |
|
template<typename Traits>
struct stapl::graph_base_container< Traits >
Graph's base-container. Inherits all functionality from either graph_base_container_base or graph_base_container_NME class.
- Template Parameters
-
D | graph-attribute specifying Directedness (DIRECTED/UNDIRECTED). |
M | graph-attribute specifying Multiedgedness (MULTIEDGES/NONMULTIEDGES). |
VertexP | type of property for the vertex. Must be default assignable, copyable and assignable. |
EdgeP | type of property for the edge. Must be default assignable, copyable and assignable. |
Traits | A traits class that defines customizable components of graph, such as the domain type, vertex type, edge type, edgelist type, storage, etc. E.g. graph_base_container_traits. |
◆ graph_base_container() [1/2]
template<typename Traits >
template<typename Domain >
Creates a graph base container with a given size and domain.
This constructor is used during redistribution, where a default value for the vertex property isn't available.
- Parameters
-
domain | Provides the domain of vertex-descriptors stored in this base container. |
cid | Provides the id of this base-container. |
◆ graph_base_container() [2/2]
template<typename Traits >
template<typename Domain >
Creates a graph base container with a given size and domain and constructs all elements with a default value for vertex.
- Parameters
-
domain | Provides the domain of vertex-descriptors stored in this base container. |
cid | Provides the id of this base-container. |
default_value | provides the default value for the vertices stored in this base-container. |
The documentation for this struct was generated from the following file:
- graph/base_container/base_container.hpp