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

Functor updating neighboring partition information of a vertex. More...

Public Member Functions

 update_partition (size_t const &old_pid, size_t const &new_pid, size_t const &weight, size_t const &target)
 
template<typename Property >
result_type operator() (Property &p) const
 
size_t target () const
 

Public Types

typedef void result_type
 

Detailed Description

Functor updating neighboring partition information of a vertex.

Constructor & Destructor Documentation

◆ update_partition()

stapl::partitioner_details::update_partition::update_partition ( size_t const &  old_pid,
size_t const &  new_pid,
size_t const &  weight,
size_t const &  target 
)
Parameters
old_pidid of source partition whose weight is subtracted with weight.
new_pidid of target partition whose weight is incremented with weight.
weightweight to be moved.
targetvertex whose neighboring partition information are updated.

Member Function Documentation

◆ operator()()

template<typename Property >
result_type stapl::partitioner_details::update_partition::operator() ( Property p) const
Parameters
vertexproperty reference.

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