#include <quetzal/geography/graph/detail/bound_policy.hpp>
Individuals can migrate out of the landscape to a sink vertex, but can not come back.
|
int constexpr | num_extra_vertices () const |
|
template<class Graph > |
void | operator() (typename Graph::vertex_descriptor s, Graph &graph, const two_dimensional auto &grid) const |
| Connect source vertex s to a sink vertex if on the border.
|
|
◆ operator()()
template<class Graph >
void quetzal::geography::sink::operator() |
( |
typename Graph::vertex_descriptor |
s, |
|
|
Graph & |
graph, |
|
|
const two_dimensional auto & |
grid |
|
) |
| const |
|
inline |
Connect source vertex s to a sink vertex if on the border.
- Template Parameters
-
EdgeProperty | |
Graph | The graph type |
- Parameters
-
s | The source vertex |
graph | The graph to update |
grid | The spatial grid |
The documentation for this class was generated from the following file:
- /home/runner/work/quetzal-CoaTL/quetzal-CoaTL/src/include/quetzal/geography/graph/detail/bound_policy.hpp