The sum of aquatic habitats and any other place a mosquito might lay eggs, including ovitraps and unsuitable habitats.
compute_Qtot(Q, Q_ovitraps, Q_bad_habitats)
a vector of describing habitat availability, \(Q\), of length nPatches
The availability of the habitats that we have defined in the model, denoted \(Q\),
sums search weights, \(\omega_h\), by patch
using the habitat membership matrix, \(\cal N\), and we can compute
$$Q = {\cal N} \cdot \omega_h.$$
If some ovitraps and bad_habitats are also available, with values \(Q_o\) and \(Q_b\) respectively, then
$$Q = Q_h + Q_o + Q_b.$$
The availability of habitats, ovitraps and bad_habitats are computed elsewhere and stored on pars$vars
.
This function is called by make_Q
create_habitat_matrix discusses \(\cal N\)
The availability of ovitraps and bad habitats is setup in setup_EGG_LAYING