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

Refiner to balance partitions in a diffusive fashion. The diffusion is done pair-wise and each diffusion phase considers an independent set of partition pairs (2 pairs which do not have a partition in common) More...

Public Member Functions

 weight_balanced_refiner (Weight_property const &prop, indep_edge_set_type const &vec, size_t const &tol)
 
template<class GView >
gpartition< GView > operator() (gpartition< GView > const &gpart) const
 

Public Types

typedef std::vector< std::vector< std::pair< size_t, size_t > > > indep_edge_set_type
 

Detailed Description

template<typename Weight_property>
struct stapl::weight_balanced_refiner< Weight_property >

Refiner to balance partitions in a diffusive fashion. The diffusion is done pair-wise and each diffusion phase considers an independent set of partition pairs (2 pairs which do not have a partition in common)

Template Parameters
Weight_propertyvertex property map type.

Constructor & Destructor Documentation

◆ weight_balanced_refiner()

template<typename Weight_property >
stapl::weight_balanced_refiner< Weight_property >::weight_balanced_refiner ( Weight_property const &  prop,
indep_edge_set_type const &  vec,
size_t const &  tol 
)
Parameters
propvertex property map.
vecindependent sets of partitions.
tolvertex weight imbalance allowed.

Member Function Documentation

◆ operator()()

template<typename Weight_property >
template<class GView >
gpartition<GView> stapl::weight_balanced_refiner< Weight_property >::operator() ( gpartition< GView > const &  gpart) const
Parameters
gpartpartition to be refined.

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