public Species(Genome representative) { Population = new List <Genome>(); this.representative = representative; this.representative.SetSpecies(this); Population.Add(this.representative); //Random rand = new Random(new Random().Next()); color = GenomeUtils.GetRandomColor3f(); }
private float GetRandomWeight() { return(GenomeUtils.GetRandomWeight()); }
public void ShiftWeight(float shiftStrength) { Weight *= GenomeUtils.GetRandomNumber() * shiftStrength; }
public void RandomizeWeight() { Weight = GenomeUtils.GetRandomWeight(); }