Skip to contents

The sum of aquatic habitats and any other place a mosquito might lay eggs, including ovitraps and unsuitable habitats.

Usage

compute_Qtot(Q, Q_ovitraps, Q_bad_habitats)

Arguments

Q

the availability of ovitraps

Q_ovitraps

the availability of ovitraps

Q_bad_habitats

the availability of unsuitable habitats

Value

a vector of describing habitat availability, Q, of length nPatches

Details

The availability of the habitats that we have defined in the model, denoted Q, sums search weights, ωh, by patch using the habitat membership matrix, N, and we can compute Q=Nωh. If some ovitraps and bad_habitats are also available, with values Qo and Qb respectively, then Q=Qh+Qo+Qb. The availability of habitats, ovitraps and bad_habitats are computed elsewhere and stored on pars$vars.

See also

This function is called by make_Q

create_habitat_matrix discusses N

The availability of ovitraps and bad habitats is setup in setup_EGG_LAYING