コード例 #1
0
ファイル: LocatedAgent.java プロジェクト: kalden/eGUT
 /**
  * \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);
 }
コード例 #2
0
ファイル: LocatedAgent.java プロジェクト: kalden/eGUT
 /**
  * \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);
 }