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

Functor to specify the creation of super-vertices representing the actual distribution of a new level of hierarchy. More...

Public Member Functions

std::pair< view_type, descriptor_view_typeoperator() (GV g, size_t lvl) const
 Create a pair of a list of domains containing super-vertices' children and a list of super-vertices' descriptors for the creation of a new level of hierarchy representing the current distribution. More...
 

Public Types

typedef domset1D< size_t > setdom_type
 
typedef array< setdom_typeset_container_type
 
typedef array_view< set_container_typeview_type
 
typedef result_of::counting_view< size_t >::type descriptor_view_type
 

Detailed Description

template<class GV>
struct stapl::native_partitioner< GV >

Functor to specify the creation of super-vertices representing the actual distribution of a new level of hierarchy.

Template Parameters
GVbase graph view type.

Member Function Documentation

◆ operator()()

template<class GV >
std::pair<view_type, descriptor_view_type> stapl::native_partitioner< GV >::operator() ( GV  g,
size_t  lvl 
) const

Create a pair of a list of domains containing super-vertices' children and a list of super-vertices' descriptors for the creation of a new level of hierarchy representing the current distribution.

Parameters
ggraph view
lvllevel of hierarchy
Returns
pair of vertex domains and super-vertices' descriptors

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