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

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

            return(fuzzyFigure.calculate());
        }