Beispiel #1
0
 /**
  * \brief Return the agent radius at which cell death is triggered
  *
  * <p>Return the agent radius at which cell death is triggered
  *
  * @return Double stating the agent radius at which cell death is triggered
  */
 public double getDeathRadius() {
   return ExtraMath.deviateFromCV(getSpeciesParam().deathRadius, getSpeciesParam().deathRadiusCV);
 }
Beispiel #2
0
 /**
  * \brief Return the fraction of mass that is transferred to the new agent on cell division
  *
  * <p>Return the fraction of mass that is transferred to the new agent on cell division
  *
  * @return Double stating the fraction of mass that is transferred to the new agent on cell
  *     division
  */
 public double getBabyMassFrac() {
   return ExtraMath.deviateFromCV(
       getSpeciesParam().babyMassFrac, getSpeciesParam().babyMassFracCV);
 }