| Patch {MGDrivE} | R Documentation |
Patch Class Definition
Description
A Patch is a single well-mixed population that is the smallest unit of simulation for MGDrivE.
Format
An R6Class generator object
Constructor
patchID: integer ID of this patch
genotypesID: character vector of genotypes
timeAq: integer vector of length 3 specifying the length of each aquatic stage
numPatches: integer, total number of patches in this simulation
adultEQ: integer, total adult population in this patch for the duration of the simulation
larvalEQ: integer, total larval population in this patch for the duration of the simulation
muAq: double vector, length 3, daily death rate for each aquatic stage
alpha: double, density-dependent centering parameter, see
parameterizeMGDrivEadultRatioF: named double vector, distribution of adult female genotypes, see
parameterizeMGDrivEadultRatioM: named double vector, distribution of adult male genotypes, see
parameterizeMGDrivElarvalRatio: named double vector, distribution of all aquatic genotypes, see
parameterizeMGDrivEeggReleases: egg release schedule for this patch, see
basicRepeatedReleasesmaleReleases: male release schedule for this patch, see
basicRepeatedReleasesfemaleReleases: female release schedule for this patch, see
basicRepeatedReleasesmatedFemaleReleases: mated females release schedule for this patch, see
basicRepeatedReleases
Methods
set_NetworkPointer: see
set_NetworkPointer_Patchget_femalePopulation: see
get_femalePop_Patchget_malePopulation: see
get_malePop_PatchinitialPopulation: see
set_initialPopulation_PatchsetPopulation: see
set_population_deterministic_Patchorset_population_stochastic_Patchreset: see
reset_PatchoneDay_initOutput: see
oneDay_initOutput_PatchoneDay_writeOutput: see
oneDay_writeOutput_PatchoneDay_migrationIn: see
oneDay_migrationIn_PatchoneDay_PopDynamics: see
oneDay_PopDynamics_PatchoneDay_adultD: see
oneDay_adultDeath_deterministic_PatchoroneDay_adultDeath_stochastic_PatchoneDay_pupaDM: see
oneDay_pupaDM_deterministic_PatchoroneDay_pupaDM_stochastic_PatchoneDay_larvaDM: see
oneDay_larvaDM_deterministic_PatchoroneDay_larvaDM_stochastic_PatchoneDay_eggDM: see
oneDay_eggDM_deterministic_PatchoroneDay_eggDM_stochastic_PatchoneDay_pupation: see
oneDay_pupation_deterministic_PatchoroneDay_pupation_stochastic_PatchoneDay_releases: see
oneDay_releases_PatchoneDay_releaseEggs: see
oneDay_eggReleases_PatchoneDay_mating: see
oneDay_mating_deterministic_PatchoroneDay_mating_stochastic_PatchoneDay_layEggs: see
oneDay_oviposit_deterministic_PatchoroneDay_oviposit_stochastic_Patch
Fields
patchID: integer ID of this patch
popAquatic: matrix, nGenotype x sum(timeAquatic), holding all eggs, larva, and pupa
popMale: vector, nGenotype x 1, holds adult males
popFemale: matrix, nGenotype x nGenotype, holds mated adult females
popHolder: vector, nGenotype x 1, temporary population storage
popPupSex: vector, nGenotype x 1, used in stochastic pupation as another temporary population
popUnmated: vector, nGenotype x 1, holds unmated females
popAquatict0: matrix, nGenotype x sum(timeAquatic), holding all eggs, larva, and pupa for reset, see
reset_PatchpopMalet0: vector, nGenotype x 1, holds adult males for reset see
reset_PatchpopFemalet0: matrix, nGenotype x nGenotype, holds mated adult females for reset see
reset_PatcheggReleases: list of egg releases for this patch. See
oneDay_eggReleases_PatchmaleReleases: list of adult male releases for this patch. See
oneDay_releases_PatchfemaleReleases: list of adult female releases for this patch. See
oneDay_releases_PatchmatedFemaleReleases: list of mated adult female releases for this patch. See
oneDay_releases_PatchNetworkPointer: a reference to enclosing
Network