STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::dynamic_graph_base_container< Traits > Struct Template Reference

Base-container for dynamic_graph. Inherits all functionality from graph_base_container. More...

Public Member Functions

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
 

Public Types

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
 

Detailed Description

template<typename Traits>
struct stapl::dynamic_graph_base_container< Traits >

Base-container for dynamic_graph. Inherits all functionality from graph_base_container.

Template Parameters
Dgraph-attribute specifying Directedness (DIRECTED/UNDIRECTED).
Mgraph-attribute specifying Multiedgedness (MULTIEDGES/NONMULTIEDGES).
VertexPtype of property for the vertex. Must be default assignable, copyable and assignable.
EdgePtype of property for the edge. Must be default assignable, copyable and assignable.
TraitsA 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.

Constructor & Destructor Documentation

◆ dynamic_graph_base_container() [1/2]

template<typename Traits >
template<typename ConstructDomainType >
stapl::dynamic_graph_base_container< Traits >::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.

Parameters
domainProvides the domain of vertex-descriptors stored in this base container.
cidProvides the id of this base-container.

◆ dynamic_graph_base_container() [2/2]

template<typename Traits >
template<typename ConstructDomainType >
stapl::dynamic_graph_base_container< Traits >::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.

Parameters
domainProvides the domain of vertex-descriptors stored in this base container.
cidProvides the id of this base-container.
default_valueprovides the default value for the vertices stored in this base-container.

The documentation for this struct was generated from the following file: