/** * @param histogram The histogram this iterator will operate on * @param valueUnitsInFirstBucket the size (in value units) of the first value bucket step * @param logBase the multiplier by which the bucket size is expanded in each iteration step. */ public LogarithmicIterator(final AbstractHistogram histogram, final long valueUnitsInFirstBucket, final double logBase) { reset(histogram, valueUnitsInFirstBucket, logBase); }
/** * Reset iterator for re-use in a fresh iteration over the same histogram data set. * @param valueUnitsInFirstBucket the size (in value units) of the first value bucket step * @param logBase the multiplier by which the bucket size is expanded in each iteration step. */ public void reset(final long valueUnitsInFirstBucket, final double logBase) { reset(histogram, valueUnitsInFirstBucket, logBase); }
/** * Reset iterator for re-use in a fresh iteration over the same histogram data set. * @param valueUnitsInFirstBucket the size (in value units) of the first value bucket step * @param logBase the multiplier by which the bucket size is expanded in each iteration step. */ public void reset(final double valueUnitsInFirstBucket, final double logBase) { integerLogarithmicIterator.reset( (long) (valueUnitsInFirstBucket * histogram.getDoubleToIntegerValueConversionRatio()), logBase ); }
/** * Reset iterator for re-use in a fresh iteration over the same histogram data set. * @param valueUnitsInFirstBucket the size (in value units) of the first value bucket step * @param logBase the multiplier by which the bucket size is expanded in each iteration step. */ public void reset(final long valueUnitsInFirstBucket, final double logBase) { reset(histogram, valueUnitsInFirstBucket, logBase); }
/** * @param histogram The histogram this iterator will operate on * @param valueUnitsInFirstBucket the size (in value units) of the first value bucket step * @param logBase the multiplier by which the bucket size is expanded in each iteration step. */ public LogarithmicIterator(final AbstractHistogram histogram, final long valueUnitsInFirstBucket, final double logBase) { reset(histogram, valueUnitsInFirstBucket, logBase); }
/** * Reset iterator for re-use in a fresh iteration over the same histogram data set. * @param valueUnitsInFirstBucket the size (in value units) of the first value bucket step * @param logBase the multiplier by which the bucket size is expanded in each iteration step. */ public void reset(final double valueUnitsInFirstBucket, final double logBase) { integerLogarithmicIterator.reset( (long) (valueUnitsInFirstBucket * histogram.getDoubleToIntegerValueConversionRatio()), logBase ); }