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

Defines a domain using a Distribution to support the query methods. More...

Public Member Functions

 distributed_domain (Distribution const &dist)
 
index_type first (void) const
 
index_type last (void) const
 
index_type open_last (void) const
 Returns termination value for comparison. More...
 
template<typename Distance >
index_type advance (index_type const &g, Distance n) const
 
size_type distance (index_type const &a, index_type const &b) const
 
size_type size (void) const
 
size_type local_size (void) const
 
bool is_same_container_domain (void) const
 
bool contains (index_type const &g) const
 
bool empty (void) const
 

Public Types

typedef distribution_traits< Distribution >::gid_type index_type
 
typedef index_type gid_type
 
typedef std::size_t size_type
 

Detailed Description

template<typename Distribution>
class stapl::distributed_domain< Distribution >

Defines a domain using a Distribution to support the query methods.

This domain commonly used to represent the domain of containers with dynamic structure (e.g., map, graph).

Member Function Documentation

◆ open_last()

template<typename Distribution >
index_type stapl::distributed_domain< Distribution >::open_last ( void  ) const

Returns termination value for comparison.

◆ advance()

template<typename Distribution >
template<typename Distance >
index_type stapl::distributed_domain< Distribution >::advance ( index_type const &  g,
Distance  n 
) const

◆ distance()

template<typename Distribution >
size_type stapl::distributed_domain< Distribution >::distance ( index_type const &  a,
index_type const &  b 
) const

◆ size()

template<typename Distribution >
size_type stapl::distributed_domain< Distribution >::size ( void  ) const

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