simBac
implements all neccessary functions for the individuals to update the complete environment.
simBac(object, arena, j, sublb, bacnum)
"simBac"(object, arena, j, sublb, bacnum)
population
parameter with all new positions of individuals on the grid and all new substrate concentrations.
constrain
to the substrate environment, then flux balance analysis is computed with optimizeLP
, after this the substrate concentrations are updated with consume
, then the bacterial growth is implemented with growth
, the potential new phenotypes are added with checkPhen
, finally the additional and conditional functions lysis
, move
or chemotaxis
are performed. Can be used as a wrapper for all important bacterial functions in a function similar to simEnv
.
Bac-class
, Arena-class
, simEnv
, constrain
, optimizeLP
, consume
, growth
, checkPhen
, lysis
, move
and chemotaxis