Description Usage Arguments Value
The generic function simBac_par
implements all neccessary functions for the individuals to update the complete environment.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | simBac_par(
object,
arena,
j,
sublb,
bacnum,
lpobject,
sec_obj = "none",
cutoff = 1e-06,
with_shadow = FALSE
)
## S4 method for signature 'Bac'
simBac_par(
object,
arena,
j,
sublb,
bacnum,
lpobject,
sec_obj = "none",
cutoff = 1e-06,
with_shadow = FALSE
)
|
object |
An object of class Bac. |
arena |
An object of class Arena defining the environment. |
j |
The index of the organism of interest in orgdat. |
sublb |
A vector containing the substance concentrations in the current position of the individual of interest. |
bacnum |
integer indicating the number of bacteria individuals per gridcell |
lpobject |
linar programming object (copy of organism@lpobj) that have to be a deep copy in parallel due to pointer use in sybil. |
sec_obj |
character giving the secondary objective for a bi-level LP if wanted. |
cutoff |
value used to define numeric accuracy |
with_shadow |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.