STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::get_vertex_weight< Weight_property > Struct Template Reference

Functor extracting a vertex-weight in a property map. More...

Public Member Functions

 get_vertex_weight (Weight_property const &prop)
 
template<typename Elt >
result_type operator() (Elt elt)
 

Public Types

typedef size_t result_type
 

Detailed Description

template<typename Weight_property>
struct stapl::get_vertex_weight< Weight_property >

Functor extracting a vertex-weight in a property map.

Template Parameters
Weight_propertyproperty map type.

Constructor & Destructor Documentation

◆ get_vertex_weight()

template<typename Weight_property >
stapl::get_vertex_weight< Weight_property >::get_vertex_weight ( Weight_property const &  prop)
Parameters
propproperty map.

Member Function Documentation

◆ operator()()

template<typename Weight_property >
template<typename Elt >
result_type stapl::get_vertex_weight< Weight_property >::operator() ( Elt  elt)
Parameters
eltvertex.
Returns
vertex weight

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