public class DoubleStatistic extends AbstractStatistic
Modifier and Type | Field and Description |
---|---|
(package private) double |
value
Statistic value.
|
key
Constructor and Description |
---|
DoubleStatistic(java.lang.String key)
Constructor.
|
DoubleStatistic(java.lang.String key,
double value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatValue()
Get a formatted version of the value, for output.
|
DoubleStatistic |
setDouble(double value)
Set the statistics.
|
getKey, toString
public DoubleStatistic(java.lang.String key)
key
- Keypublic DoubleStatistic(java.lang.String key, double value)
key
- Keyvalue
- Valuepublic DoubleStatistic setDouble(double value)
value
- New valuepublic java.lang.String formatValue()
Statistic
Copyright © 2019 ELKI Development Team. License information.