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

Functor which adds edges to form a star of the given dimensions. More...

Public Member Functions

 star_neighbors (std::size_t root, bool bidirectional)
 
template<typename Vertex , typename Graph >
void operator() (Vertex v, Graph &view)
 

Public Types

typedef void result_type
 

Public Attributes

std::size_t m_root
 
bool m_bidirectional
 

Detailed Description

Functor which adds edges to form a star of the given dimensions.

See also
make_star

Constructor & Destructor Documentation

◆ star_neighbors()

stapl::generators::detail::star_neighbors::star_neighbors ( std::size_t  root,
bool  bidirectional 
)
Parameters
rootThe descriptor of the vertex that will be the root of the star
bidirectionalFlag indicating that edges should be added in both directions.

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