public void printExponential() { System.out.println("*******************************************************"); System.out.println("* SEQUENZA ESPONENZIALE DI MEDIA 20 *"); System.out.println("*******************************************************"); System.out.println(); System.out.println("a: " + this.getA()); System.out.println("seed: " + this.getSeed1()); System.out.println("b: " + this.getB()); System.out.println("avg: " + this.getAvg()); System.out.println(); List<Double> l = Utils.generaEsponenziale(this.getA(), this.getSeed1(), this.getB(), this.getAvg()); printSequence(l); System.out.println(); }
public List<Double> generaEsponenziale() { return Utils.generaEsponenziale(this.getA(), this.getSeed1(), this.getB(), this.getAvg()); }