pops-core
0.9
PoPS (Pest or Pathogen Spread) Model Core C++ library
|
Pesticide treatment class. More...
#include <treatments.hpp>
Public Member Functions | |
PesticideTreatment (const FloatRaster &map, unsigned start, unsigned end, TreatmentApplication treatment_application) | |
bool | should_start (unsigned step) override |
bool | should_end (unsigned step) override |
void | apply_treatment (IntegerRaster &infected, std::vector< IntegerRaster > &exposed_vector, IntegerRaster &susceptible, IntegerRaster &resistant, IntegerRaster &total_hosts, const std::vector< std::vector< int >> &suitable_cells) override |
void | end_treatment (IntegerRaster &susceptible, IntegerRaster &resistant, const std::vector< std::vector< int >> &suitable_cells) override |
Public Member Functions inherited from pops::BaseTreatment< IntegerRaster, FloatRaster > | |
BaseTreatment (const FloatRaster &map, unsigned start, TreatmentApplication treatment_application) | |
unsigned | get_start () override |
unsigned | get_end () override |
void | apply_treatment_mortality (IntegerRaster &infected, const std::vector< std::vector< int >> &suitable_cells) override |
Public Member Functions inherited from pops::AbstractTreatment< IntegerRaster, FloatRaster > | |
virtual | ~AbstractTreatment () |
Additional Inherited Members | |
Protected Attributes inherited from pops::BaseTreatment< IntegerRaster, FloatRaster > | |
unsigned | start_step_ |
unsigned | end_step_ |
FloatRaster | map_ |
TreatmentApplication | application_ |
Pesticide treatment class.
Removes percentage (given by treatment efficiency) of infected and susceptible to resistant pool and after certain number of days back to susceptible.
Definition at line 235 of file treatments.hpp.
|
inline |
Definition at line 238 of file treatments.hpp.
|
inlineoverridevirtual |
Implements pops::AbstractTreatment< IntegerRaster, FloatRaster >.
Definition at line 260 of file treatments.hpp.
|
inlineoverridevirtual |
Implements pops::AbstractTreatment< IntegerRaster, FloatRaster >.
Definition at line 300 of file treatments.hpp.
|
inlineoverridevirtual |
Implements pops::AbstractTreatment< IntegerRaster, FloatRaster >.
Definition at line 253 of file treatments.hpp.
|
inlineoverridevirtual |
Implements pops::AbstractTreatment< IntegerRaster, FloatRaster >.
Definition at line 247 of file treatments.hpp.