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

Functor computing the vertex descriptor offset for the level above a given one. More...

Public Member Functions

 compute_level_offset (size_t offset=default_offset)
 
 compute_level_offset (bool max_computation)
 
template<typename GraphView >
size_t operator() (GraphView &gview) const
 

Static Public Attributes

static const size_t default_offset
 

Detailed Description

Functor computing the vertex descriptor offset for the level above a given one.

The constructor takes either an offset that will be used between each level or a boolean. In the latter case, the offset will be computed as the max vertex descriptor of the current level.

Member Data Documentation

◆ default_offset

const size_t stapl::compute_level_offset::default_offset
static
Initial value:
=
std::numeric_limits<size_t>::max()/STAPL_MAX_HIERARCHY_LEVEL

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