public double RandomizedDouble(RandomMinMax randomMinMax)
        {
            double min = randomMinMax.Min;
            double max = randomMinMax.Max;

            if (min == max)
                return max;
            else
                return min + (random.NextDouble() * (max - min));
        }
        public double RandomizedDouble(RandomMinMax randomMinMax)
        {
            double min = randomMinMax.Min;
            double max = randomMinMax.Max;

            if (min == max)
            {
                return(max);
            }
            else
            {
                return(min + (random.NextDouble() * (max - min)));
            }
        }