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

Functor to add the adjacent edge weight and associated partition id to a vertex. More...

Public Member Functions

 add_partition (size_t const &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 to add the adjacent edge weight and associated partition id to a vertex.

Constructor & Destructor Documentation

◆ add_partition()

stapl::partitioner_details::add_partition::add_partition ( size_t const &  pid,
size_t const &  weight,
size_t const &  target 
)
Parameters
pidpartition id.
weightweight associated with partition pid.
targettarget vertex id.

Member Function Documentation

◆ operator()()

template<typename Property >
result_type stapl::partitioner_details::add_partition::operator() ( Property p) const
Parameters
pvertex property reference.

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