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

Functor getting the weight of each partition. More...

Public Member Functions

 get_partition_weights (size_t const &num_partitions)
 
template<typename Partition >
result_type operator() (Partition part) const
 

Public Types

typedef std::vector< size_t > result_type
 

Detailed Description

Functor getting the weight of each partition.

Constructor & Destructor Documentation

◆ get_partition_weights()

stapl::partitioner_details::get_partition_weights::get_partition_weights ( size_t const &  num_partitions)
Parameters
num_partitionsnumber of partitions.

Member Function Documentation

◆ operator()()

template<typename Partition >
result_type stapl::partitioner_details::get_partition_weights::operator() ( Partition  part) const
Parameters
partbase container.

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