Base-container for dynamic_graph. Inherits all functionality from graph_base_container.
More...
|
template<typename ConstructDomainType > |
| dynamic_graph_base_container (ConstructDomainType const &domain, cid_type const &cid) |
| Creates a graph base container with a given size, domain and id for the base-container. More...
|
|
template<typename ConstructDomainType > |
| dynamic_graph_base_container (ConstructDomainType const &domain, cid_type const &cid, typename base_type::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...
|
|
| dynamic_graph_base_container (dynamic_graph_base_container const &other) |
|
domain_type | domain (void) const |
|
|
typedef graph_base_container< Traits > | base_type |
|
typedef Traits::container_type | container_type |
|
typedef Traits::domain_type | domain_type |
|
typedef size_t | cid_type |
|
typedef graph_base_container< Traits > | this_type |
|
typedef base_type::value_type | value_type |
|
template<typename Traits>
struct stapl::dynamic_graph_base_container< Traits >
Base-container for dynamic_graph. Inherits all functionality from graph_base_container.
- 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. dynamic_graph_base_container_traits. |
◆ dynamic_graph_base_container() [1/2]
template<typename Traits >
template<typename ConstructDomainType >
Creates a graph base container with a given size, domain and id for the base-container.
- Parameters
-
domain | Provides the domain of vertex-descriptors stored in this base container. |
cid | Provides the id of this base-container. |
◆ dynamic_graph_base_container() [2/2]
template<typename Traits >
template<typename ConstructDomainType >
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:
- dynamic_base_container.hpp