Functor which adds edges to form a star of the given dimensions.
More...
|
| star_neighbors (std::size_t root, bool bidirectional) |
|
template<typename Vertex , typename Graph > |
void | operator() (Vertex v, Graph &view) |
|
|
std::size_t | m_root |
|
bool | m_bidirectional |
|
Functor which adds edges to form a star of the given dimensions.
- See also
- make_star
◆ star_neighbors()
stapl::generators::detail::star_neighbors::star_neighbors |
( |
std::size_t |
root, |
|
|
bool |
bidirectional |
|
) |
| |
- Parameters
-
root | The descriptor of the vertex that will be the root of the star |
bidirectional | Flag indicating that edges should be added in both directions. |
The documentation for this struct was generated from the following file: