More info: http://blog.aggregateknowledge.com/2013/09/16/sketch-of-the-day-frugal-streaming/
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile double | |
| pack-priv final double | |
| pack-priv double | |
| pack-priv final SplittableRandom | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double | |
| private void | |
| public synchronized void | insert(double
the data point to add. x)Implements io. |
| private void | |
| public synchronized void | |
| public String |
| estimate | back to summary |
|---|---|
| pack-priv volatile double estimate | |
| increment | back to summary |
|---|---|
| pack-priv final double increment | |
| quantile | back to summary |
|---|---|
| pack-priv double quantile | |
| rnd | back to summary |
|---|---|
| pack-priv final SplittableRandom rnd | |
| sign | back to summary |
|---|---|
| pack-priv int sign | |
| step | back to summary |
|---|---|
| pack-priv int step | |
| FrugalQuantile | back to summary |
|---|---|
| public FrugalQuantile(double quantile, double increment) | |
| FrugalQuantile | back to summary |
|---|---|
| public FrugalQuantile(double quantile) | |
| estimation | back to summary |
|---|---|
| public double estimation() Implements io.
| |
| higher | back to summary |
|---|---|
| private void higher(double x) | |
| insert | back to summary |
|---|---|
| public synchronized void insert(double x) Implements io. Doc from io. Insert a data point `x` in the quantile estimator.
| |
| lower | back to summary |
|---|---|
| private void lower(double x) | |
| reset | back to summary |
|---|---|
| public synchronized void reset(double quantile) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |