Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
858 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | import JsHistogram from "./JsHistogram";
|
---|
| 2 | import JsHistogramIterator from "./JsHistogramIterator";
|
---|
| 3 | /**
|
---|
| 4 | * Used for iterating through all recorded histogram values using the finest granularity steps supported by the
|
---|
| 5 | * underlying representation. The iteration steps through all non-zero recorded value counts, and terminates when
|
---|
| 6 | * all recorded histogram values are exhausted.
|
---|
| 7 | */
|
---|
| 8 | declare class RecordedValuesIterator extends JsHistogramIterator {
|
---|
| 9 | visitedIndex: number;
|
---|
| 10 | /**
|
---|
| 11 | * @param histogram The histogram this iterator will operate on
|
---|
| 12 | */
|
---|
| 13 | constructor(histogram: JsHistogram);
|
---|
| 14 | /**
|
---|
| 15 | * Reset iterator for re-use in a fresh iteration over the same histogram data set.
|
---|
| 16 | */
|
---|
| 17 | reset(): void;
|
---|
| 18 | private doReset;
|
---|
| 19 | incrementIterationLevel(): void;
|
---|
| 20 | reachedIterationLevel(): boolean;
|
---|
| 21 | }
|
---|
| 22 | export default RecordedValuesIterator;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.