Пример #1
0
        private double calculateLeftTrapeze(int pressure, int firstMaximumIndex, int lastMaximumIndex, double[] maximums)
        {
            FuzzyFigure fuzzyFigure = new FuzzyLeftTrapeze(pressure, firstMaximumIndex, lastMaximumIndex, maximums);

            return(fuzzyFigure.calculate());
        }
Пример #2
0
        private double calculateLeftTrapeze(double cloudyPercent, int firstMaximumIndex, int lastMaximumIndex, double[] maximums)
        {
            FuzzyFigure fuzzyFigure = new FuzzyLeftTrapeze(cloudyPercent, firstMaximumIndex, lastMaximumIndex, maximums);

            return(fuzzyFigure.calculate());
        }