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::fm_refinement_wf< HView > Struct Template Reference

Fiduccia-Mattheyses heuristic functor to decrease the edge-cut of a graph partition while maintaining a low partition imbalance. More...

Public Member Functions

 fm_refinement_wf (HView const &hview, std::vector< size_t > &part_weights, size_t const &opt_part_weight, size_t const &imbalance)
 
template<typename Partition >
void operator() (Partition part)
 

Public Types

typedef void result_type
 

Detailed Description

template<typename HView>
struct stapl::partitioner_details::fm_refinement_wf< HView >

Fiduccia-Mattheyses heuristic functor to decrease the edge-cut of a graph partition while maintaining a low partition imbalance.

Template Parameters
Hviewgraph view type.

Constructor & Destructor Documentation

◆ fm_refinement_wf()

template<typename HView >
stapl::partitioner_details::fm_refinement_wf< HView >::fm_refinement_wf ( HView const &  hview,
std::vector< size_t > &  part_weights,
size_t const &  opt_part_weight,
size_t const &  imbalance 
)
Parameters
hviewgraph view.
part_weightsweight of each partition.
opt_part_weightoptimal partition weight.
imbalancepartition imbalance allowed for the refinement.

Member Function Documentation

◆ operator()()

template<typename HView >
template<typename Partition >
void stapl::partitioner_details::fm_refinement_wf< HView >::operator() ( Partition  part)
Parameters
partgraph base container.

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