STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::identity_map< GID, Index, ContainerGID, CID > Struct Template Reference

Computes an identity mapping of ids to partitions. More...

Public Member Functions

Index operator() (GID id) const
 
std::pair< GID, GID > domain (Index pid) const
 
void update (std::vector< std::tuple< std::pair< ContainerGID, ContainerGID >, CID, location_type >> const &, size_t)
 

Public Types

typedef GID gid_type
 Type of the id being mapped into partitions. Required by Core.
 
typedef Index index_type
 Type of the partition id. Required by Core.
 

Detailed Description

template<typename GID, typename Index = GID, typename ContainerGID = GID, typename CID = unsigned long int>
struct stapl::identity_map< GID, Index, ContainerGID, CID >

Computes an identity mapping of ids to partitions.

The struct is used to implement view-based specifications of balanced distributions. The implementation assumes an instance of the GID is convertible to Index.


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