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 |
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).
index_type stapl::distributed_domain< Distribution >::open_last | ( | void | ) | const |
Returns termination value for comparison.
index_type stapl::distributed_domain< Distribution >::advance | ( | index_type const & | g, |
Distance | n | ||
) | const |
size_type stapl::distributed_domain< Distribution >::distance | ( | index_type const & | a, |
index_type const & | b | ||
) | const |
size_type stapl::distributed_domain< Distribution >::size | ( | void | ) | const |