private double calculateLeftTrapeze(int pressure, int firstMaximumIndex, int lastMaximumIndex, double[] maximums) { FuzzyFigure fuzzyFigure = new FuzzyLeftTrapeze(pressure, firstMaximumIndex, lastMaximumIndex, maximums); return(fuzzyFigure.calculate()); }
private double calculateLeftTrapeze(double cloudyPercent, int firstMaximumIndex, int lastMaximumIndex, double[] maximums) { FuzzyFigure fuzzyFigure = new FuzzyLeftTrapeze(cloudyPercent, firstMaximumIndex, lastMaximumIndex, maximums); return(fuzzyFigure.calculate()); }