Functor which adds edges to form a grid of the given dimensions.
More...
|
| grid_neighbors (std::array< std::size_t, D > dims, bool bidirectional) |
|
template<typename Vertex , typename Graph > |
void | operator() (Vertex v, Graph &view) |
|
|
geometry_impl::grid_generator< D > | m_generator |
|
bool | m_bidirectional |
|
template<int D>
struct stapl::generators::detail::grid_neighbors< D >
Functor which adds edges to form a grid of the given dimensions.
- See also
- make_grid
◆ grid_neighbors()
- Parameters
-
x,y | Dimensions of the grid. |
bidirectional | True to add back-edges in a directed graph. |
The documentation for this struct was generated from the following file: