pops-core
0.9
PoPS (Pest or Pathogen Spread) Model Core C++ library
|
Go to the source code of this file.
Namespaces | |
pops | |
Functions | |
template<typename IntegerRaster > | |
unsigned | pops::sum_of_infected (const IntegerRaster &infected, const std::vector< std::vector< int >> &suitable_cells) |
Computes sum of infected hosts from all cells of a raster. More... | |
template<typename IntegerRaster > | |
double | pops::area_of_infected (const IntegerRaster &infected, double ew_res, double ns_res, const std::vector< std::vector< int >> &suitable_cells) |
Computes infected area as number of cell > 0 times cell size. More... | |