void UpdateParams(int num) {

		DefaultParams();

		if (num == 1) {
			Efloys.params[0].value = 8f;		//MaxSpeed
			Efloys.params[1].value = 2f;		//BounceSpeed
			Efloys.params[2].value = 0.8f;		//ApproachAcceleration
			Efloys.params[4].value = 0.1f;		//CenterAcceleration
			Efloys.params[5].value = 3f;		//DistBrotherFactor
			Efloys.params[6].value = 40f;		//DistStrangerFactor
			Efloys.params[7].value = 0f;		//DistLocalFactor
			Efloys.params[8].value = 200f;		//CollisionDistance
			Efloys.params[9].value = -1f;		//CollisionBrotherFactor
			Efloys.params[10].value = 50f;		//CollisionStrangerFactor
			Efloys.params[11].value = -50f;		//CollisionLocalFactor
			Efloys.InEvolution = false;
			Efloys.NewGeneration = false;
			Efloys.Evolution.setLabel("Start Evolution");
		}
		else
		if (num == 2) {
			Efloys.params[0].value = 1f;		//MaxSpeed
			Efloys.params[1].value = 0.1f;		//BounceSpeed
			Efloys.params[2].value = 0.05f;		//ApproachAcceleration
			Efloys.params[4].value = 0f;		//CenterAcceleration
			Efloys.params[5].value = 1f;		//DistBrotherFactor
			Efloys.params[6].value = 10f;		//DistStrangerFactor
			Efloys.params[7].value = 0f;		//DistLocalFactor
			Efloys.params[8].value = 200f;		//CollisionDistance
			Efloys.params[9].value = -1f;		//CollisionBrotherFactor
			Efloys.params[10].value = 10f;		//CollisionStrangerFactor
			Efloys.params[11].value = -20f;		//CollisionLocalFactor
			Efloys.InEvolution = false;
			Efloys.NewGeneration = false;
			Efloys.Evolution.setLabel("Start Evolution");
		}
		else
		if (num == 3) {
 			Efloys.envpars[5].value = 1f;		//EnergyFactor
			Efloys.envpars[6].value = 3f;		//SafetyFactor
			Efloys.envpars[7].value = 0f;		//CooperationFactor
			Efloys.envpars[8].value = 0f;		//SurviversFactor
			Efloys.envpars[12].value = 25f;		//PopulationSize
			Efloys.envpars[13].value = 0.05f;	//FreeWillFactor"
			Efloys.envpars[14].value = 25f;		//LifeSpan
			Efloys.InEvolution = true;
			Efloys.NewGeneration = true;
			Efloys.Evolution.setLabel("Stop Evolution");
		}
		else
		if (num == 4) {
 			Efloys.envpars[5].value = 3f;		//EnergyFactor
			Efloys.envpars[6].value = 1f;		//SafetyFactor
			Efloys.envpars[7].value = 0f;		//CooperationFactor
			Efloys.envpars[8].value = 0f;		//SurviversFactor
			Efloys.envpars[12].value = 25f;		//PopulationSize
			Efloys.envpars[13].value = 0.05f;	//FreeWillFactor"
			Efloys.envpars[14].value = 25f;		//LifeSpan
			Efloys.InEvolution = true;
			Efloys.NewGeneration = true;
			Efloys.Evolution.setLabel("Stop Evolution");
		}

		Efloys.NF = (int) Efloys.envpars[12].value;
		Efloys.SLEEP = (long) Efloys.envpars[3].value;
		Efloys.KICK =  Efloys.envpars[13].value;

	}