private float preyChangeInPopulationWithCarryingCapacity(InitialParameters initialparams, System.Collections.Hashtable lotkavolterravariables)
        {
            float a = initialparams.GrowthRate * (float)lotkavolterravariables["preypopulation"];
            //float b = (float)lotkavolterravariables["preypopulation"] + (initialparams.DeathPropotionalityScore * (float)lotkavolterravariables["predatorpopulation"]);
            float b = (float)lotkavolterravariables["preypopulation"] + (initialparams.AlphaNP * (float)lotkavolterravariables["predatorpopulation"]);
            float c = b / initialparams.CarryingCapacity;
            float d = 1 - c;

            return(a * d);
        }
 private float growth(float populationSize, InitialParameters initialparams)
 {
     return(initialparams.GrowthRate * populationSize * initialparams.TimeIncrement);
 }
 private float deathrate(float populationSize, InitialParameters initialparams)
 {
     return(initialparams.GrowthRate * (1 - (populationSize / initialparams.CarryingCapacity)));
 }
 private float deaths(float populationSize, InitialParameters initialparams)
 {
     return(populationSize * initialparams.DeathPropotionalityScore);
 }
 private float births(float populationSize, InitialParameters initialparams)
 {
     return(populationSize * initialparams.BirthFraction);
 }