Quetzal-CoaTL
The Coalescence Template Library
Loading...
Searching...
No Matches
quetzal::geography::sink Class Reference

#include <quetzal/geography/graph/detail/bound_policy.hpp>

Detailed Description

Individuals can migrate out of the landscape to a sink vertex, but can not come back.

Public Member Functions

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.
 

Member Function Documentation

◆ 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
GraphThe graph type
Parameters
sThe source vertex
graphThe graph to update
gridThe spatial grid

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