Compute the availability of aquatic habitats.
compute_Q(habitat_matrix, search_weights)
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_q\), by patch using the habitat membership matrix, \(\cal N\), and we can compute $$Q = {\cal N} \cdot \omega_q.$$
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