/** * Sets the uniform random generator internally used. */ protected void setRandomGenerator(DoubleRandomEngine randomGenerator) { super.setRandomGenerator(randomGenerator); this.cacheFilled = false; }
/** * Returns a deep copy of the receiver; the copy will produce identical * sequences. After this call has returned, the copy and the receiver have * equal but separate state. * * @return a copy of the receiver. */ public Object clone() { Empirical copy = (Empirical) super.clone(); if (this.cdf != null) copy.cdf = this.cdf.clone(); return copy; }
/** * Returns a deep copy of the receiver; the copy will produce identical * sequences. After this call has returned, the copy and the receiver have * equal but separate state. * * @return a copy of the receiver. */ public Object clone() { Empirical copy = (Empirical) super.clone(); if (this.cdf != null) copy.cdf = this.cdf.clone(); return copy; }
/** * Sets the uniform random generator internally used. */ protected void setRandomGenerator(DoubleRandomEngine randomGenerator) { super.setRandomGenerator(randomGenerator); this.cacheFilled = false; }