The generic function simBac_par
implements all neccessary functions for the individuals to update the complete environment.
simBac_par(
object,
arena,
j,
sublb,
bacnum,
lpobject,
sec_obj = "none",
cutoff = 1e-06,
with_shadow = FALSE
)# S4 method for Bac
simBac_par(
object,
arena,
j,
sublb,
bacnum,
lpobject,
sec_obj = "none",
cutoff = 1e-06,
with_shadow = FALSE
)
An object of class Bac.
An object of class Arena defining the environment.
The index of the organism of interest in orgdat.
A vector containing the substance concentrations in the current position of the individual of interest.
integer indicating the number of bacteria individuals per gridcell
linar programming object (copy of organism@lpobj) that have to be a deep copy in parallel due to pointer use in sybil.
character giving the secondary objective for a bi-level LP if wanted.
value used to define numeric accuracy
True if shadow cost should be stores (default off).
Returns the updated enivironment of the population
parameter with all new positions of individuals on the grid and all new substrate concentrations.