Skip to main content
. 2022 Mar 30;14(4):749. doi: 10.3390/pharmaceutics14040749
Algorithm 1 Cell behaviour algorithm that is iterated for all cells (agents) and for all time-steps of an ABM simulation.
  • if random_number Papoptose then

  •       Remove cell from simulation

  •       return

  • if random_number Pmigrate then

  •       Displace cell

  • if random_number Pgrow then

  •       Develop cell diameter, d, unless >dmax

  •       return

  • if random_number Pdivide then

  •       Create new copy of (mother) cell: (daughter) cell

  •       Half the volume of (mother & daughter) cells