Functor updating neighboring partition information of a vertex.
More...
|
| | 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 |
| |
Functor updating neighboring partition information of a vertex.
◆ 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_pid | id of source partition whose weight is subtracted with weight. |
| new_pid | id of target partition whose weight is incremented with weight. |
| weight | weight to be moved. |
| target | vertex whose neighboring partition information are updated. |
◆ operator()()
template<typename Property >
| result_type stapl::partitioner_details::update_partition::operator() |
( |
Property & |
p | ) |
const |
- Parameters
-
| vertex | property reference. |
The documentation for this struct was generated from the following file: