spreadGates.RdBuilds the screen feasibleInitialPopulation() applies to its draws:
fireSenseUtils::spreadProbGates() on the covariates of the first block of fire years, which is
the test the objective itself applies before simulating any fire. A parameter set that fails it is
one the objective refuses (its fail value, 1e6).
spreadGates(
covs,
formulaToFit,
covMinMax,
covCentre,
climateRef,
mutuallyExclusive,
maxFireSpread,
escapeSizeHa,
landscape,
link,
powerLawGamma,
powerLawShape,
lowerAsymptote = fireSenseUtils::spreadProbFloor,
richardsNu = fireSenseUtils::spreadRichardsNu
)mod$covsX1000, or the subset of its years being fitted.
as given to fireSenseUtils::runDEoptim() for the same fit.
a function of a list of parameter sets (named numeric vectors, as drawActivePars() draws
them) returning a logical vector, TRUE for a set that passes; with pass = FALSE the
spreadProbGates() data.frame (pass, burny, notSpread, medianOK) instead.