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

Work function used to compute the base container ranking. More...

Public Member Functions

 compute_rank_wf (size_t rounds, View const &view)
 
 compute_rank_wf (size_t rounds, size_t round, size_t rank, ptr_type const &prev_next_id, stages stage, View const &view)
 
template<typename TGV , typename AuxInfo >
void operator() (TGV const &tgv, AuxInfo &bc_aux_info)
 

Public Types

enum  stages { INIT, RANK_NEXT, PREVIOUS }
 
typedef Node node_type
 
typedef node_type::ptr_type ptr_type
 
typedef void result_type
 

Detailed Description

template<typename Node, typename View>
class stapl::compute_rank_wf< Node, View >

Work function used to compute the base container ranking.

The work function spawns new tasks based on the stage it is executing.

Template Parameters
NodeEntry node type in the ordering base container list.
ViewView type over a container of vector of auxiliary information.

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