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

Functor to get and store partition weights in a property map. More...

Public Member Functions

 get_partition_weights (Weight_property const &prop, Weight_partition_map const &prop2)
 
template<typename Elt >
void operator() (Elt elt)
 

Public Types

typedef void result_type
 

Detailed Description

template<typename Weight_property, typename Weight_partition_map>
struct stapl::get_partition_weights< Weight_property, Weight_partition_map >

Functor to get and store partition weights in a property map.

Template Parameters
Weight_propertyvertex property map type.
Weight_partition_mappartition property map type.

Constructor & Destructor Documentation

◆ get_partition_weights()

template<typename Weight_property , typename Weight_partition_map >
stapl::get_partition_weights< Weight_property, Weight_partition_map >::get_partition_weights ( Weight_property const &  prop,
Weight_partition_map const &  prop2 
)
Parameters
propvertex property map.
prop2partition property map.

Member Function Documentation

◆ operator()()

template<typename Weight_property , typename Weight_partition_map >
template<typename Elt >
void stapl::get_partition_weights< Weight_property, Weight_partition_map >::operator() ( Elt  elt)
Parameters
eltpartition.

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