STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Public Attributes
stapl::aux_info Struct Reference

Struct used to as temporary storage for the information required to compute list ranking over the list of base containers. More...

Public Member Functions

 aux_info (rmi_handle::reference const &handle, size_t loc, size_t id, node_type const &node, size_t steps)
 
bool can_update_rank (size_t round)
 Verify if setting the rank can procede for the given round.
 
size_t get_rank (size_t i)
 
void set_rank (size_t i, size_t r)
 
ptr_type get_prev (size_t i)
 
void set_prev (size_t i, ptr_type p)
 
ptr_type get_next (size_t i)
 
void set_next (size_t i, ptr_type n)
 
node_typeget_node (size_t i)
 
void set_node (size_t i, node_type n)
 
size_t get_accum_rank (size_t i)
 
void set_accum_rank (size_t i, size_t r)
 
ptr_type get_local_id () const
 
void update_rank (size_t r)
 
size_t current_rank () const
 
bool is_local ()
 

Public Types

typedef ordering_impl::ptr_bcontainer ptr_type
 
typedef bc_base base_container_type
 
typedef ordering_impl::node node_type
 

Public Attributes

size_t rank
 
ptr_type local_id
 
std::vector< node_typelinks
 
std::vector< size_t > accum_rank
 

Detailed Description

Struct used to as temporary storage for the information required to compute list ranking over the list of base containers.

Template Parameters
OrderOrdering object type.

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