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

Functor which adds edges to generate a binary tree. More...

Public Member Functions

 binary_tree_neighbors (bool bidirectional)
 
template<typename Vertex , typename Graph >
void operator() (Vertex v, Graph &view)
 

Public Types

typedef void result_type
 

Public Attributes

bool m_bidirectional
 

Detailed Description

Functor which adds edges to generate a binary tree.

Constructor & Destructor Documentation

◆ binary_tree_neighbors()

stapl::generators::detail::binary_tree_neighbors::binary_tree_neighbors ( bool  bidirectional)
Parameters
bidirectionalTrue to add back-edges in a directed graph, false for forward edges only.

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