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

Functor which adds edges from an unordered_map adjacency list. More...

Public Member Functions

 dag_neighbors (UMapTargets &umap_targets)
 
template<typename Vertex , typename Graph >
void operator() (Vertex v, Graph &view)
 

Public Types

typedef void result_type
 

Public Attributes

UMapTargets * m_umap_targets
 

Detailed Description

template<typename UMapTargets>
struct stapl::generators::detail::dag_neighbors< UMapTargets >

Functor which adds edges from an unordered_map adjacency list.

Constructor & Destructor Documentation

◆ dag_neighbors()

template<typename UMapTargets >
stapl::generators::detail::dag_neighbors< UMapTargets >::dag_neighbors ( UMapTargets &  umap_targets)
Parameters
umap_targetsA stapl::unordered map where each key is a vertex id and each value is a list of its outgoing neighbors

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