Exemplo n.º 1
0
 public Estimates(int mn, int mx)
 {
     MinValue = mn;
     MaxValue = mx;
     values   = new List <double>();
     values.Add(RandomContainer.NextDouble(MinValue, MaxValue));
     values.Add(RandomContainer.NextDouble(MinValue, MaxValue));
 }
Exemplo n.º 2
0
 public void GenerateNewCoords(AtomsGrid grid)
 {
     this.X = RandomContainer.NextInt(0, grid.X);
     this.Y = RandomContainer.NextInt(0, grid.Y);
     this.Z = RandomContainer.NextInt(0, grid.Z);
     Console.WriteLine($"New generated Coords: {X}, {Y}, {Z} and tries: {Tries}");
     this.Tries++;
 }
Exemplo n.º 3
0
 public void Add()
 {
     values.Add(RandomContainer.NextDouble(MinValue, MaxValue));
     NotifyOnPropertyChanged?.Invoke();
 }