pops-core  0.9
PoPS (Pest or Pathogen Spread) Model Core C++ library
Classes | Namespaces | Typedefs | Functions
quarantine.hpp File Reference
#include <tuple>
#include <map>
#include <vector>
#include <limits>
#include <type_traits>
#include <sstream>
#include <iomanip>
#include "utils.hpp"
Include dependency graph for quarantine.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pops::QuarantineEscape< IntegerRaster, RasterIndex >
 Class storing and computing quarantine escap metrics for one simulation. More...
 

Namespaces

 pops
 

Typedefs

typedef std::tuple< double, Directionpops::DistDir
 
typedef std::tuple< bool, DistDir > pops::EscapeDistDir
 
typedef std::vector< EscapeDistDir > pops::EscapeDistDirs
 

Functions

std::ostream & pops::operator<< (std::ostream &os, const Direction &obj)
 
template<typename IntegerRaster >
double pops::quarantine_escape_probability (const std::vector< QuarantineEscape< IntegerRaster >> escape_infos, unsigned step)
 Reports probability of escaping quarantine based on multiple runs for certain step. More...
 
template<typename IntegerRaster >
std::vector< DistDir > pops::distance_direction_to_quarantine (const std::vector< QuarantineEscape< IntegerRaster >> escape_infos, unsigned step)
 Reports minimum distances to quarantine boundary (bbox) and associated distances for each run for certain step. More...
 
template<typename IntegerRaster >
std::string pops::write_quarantine_escape (const std::vector< QuarantineEscape< IntegerRaster >> escape_infos, unsigned num_steps)
 Writes quarantine escape summary for all steps into a string. More...