foxes_opt.core.PopStates.ensure_variables(algo, mdata, fdata, tdata)

Add variables to tdata, initialized with NaN

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

mdata: foxes.core.Data

The model data

fdata: foxes.core.Data

The farm data

tdata: foxes.core.Data

The target point data