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::metis_bisection_wf Struct Reference

Functor for parallel nested bisection partitioning of a graph. This implementation uses the METIS library for the bisection. More...

Public Member Functions

 metis_bisection_wf (metis_graph *mgraph, size_t const &num_parts)
 
template<typename HView >
void operator() (size_t const &index, HView hview)
 

Public Types

typedef void result_type
 

Detailed Description

Functor for parallel nested bisection partitioning of a graph. This implementation uses the METIS library for the bisection.

Constructor & Destructor Documentation

◆ metis_bisection_wf()

stapl::partitioner_details::metis_bisection_wf::metis_bisection_wf ( metis_graph *  mgraph,
size_t const &  num_parts 
)
Parameters
mgraphgraph in CSR format used by METIS.
num_partsnumber of partitions created.

Member Function Documentation

◆ operator()()

template<typename HView >
void stapl::partitioner_details::metis_bisection_wf::operator() ( size_t const &  index,
HView  hview 
)
Parameters
indexindex of partition to build.
hviewgraph view.

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