public abstract class AbstractContinuousStatistics<T extends Number & Comparable<? super T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AbstractContinuousStatistics.IntervalCounts<T extends Number & Comparable<? super T>> |
Modifier and Type | Field and Description |
---|---|
protected static String |
ATTR_TOTAL_SQUARES_SUM |
protected static String |
ATTR_TOTAL_VALUES_SUM |
protected SortedMap<Interval<T>,AbstractContinuousStatistics.IntervalCounts<T>> |
intervalCounts |
protected T |
totalSquaresSum |
protected T |
totalValuesSum |
Constructor and Description |
---|
AbstractContinuousStatistics() |
Modifier and Type | Method and Description |
---|---|
SortedMap<Interval<T>,AbstractContinuousStatistics.IntervalCounts<T>> |
getIntervalCounts()
Returns a mapping from interval to the counts for the given interval.
|
Class<?> |
getNumericType() |
T |
getTotalSquaresSum()
Returns the sum of the squares of the values of the field.
|
T |
getTotalValuesSum()
Returns the sum of the values of the field.
|
void |
setIntervalCounts(Map<Interval<T>,AbstractContinuousStatistics.IntervalCounts<T>> intMap)
Sets a mapping from interval to the counts for the given interval.
|
void |
setTotalSquaresSum(T totalSquaresSum)
Sets the sum of the squares of the values of the field.
|
void |
setTotalValuesSum(T totalValuesSum)
Sets the sum of the values of the field
|
protected static final String ATTR_TOTAL_VALUES_SUM
protected static final String ATTR_TOTAL_SQUARES_SUM
protected SortedMap<Interval<T extends Number & Comparable<? super T>>,AbstractContinuousStatistics.IntervalCounts<T extends Number & Comparable<? super T>>> intervalCounts
protected T extends Number & Comparable<? super T> totalValuesSum
protected T extends Number & Comparable<? super T> totalSquaresSum
public SortedMap<Interval<T>,AbstractContinuousStatistics.IntervalCounts<T>> getIntervalCounts()
public void setIntervalCounts(Map<Interval<T>,AbstractContinuousStatistics.IntervalCounts<T>> intMap)
intMap
- a mapping from interval to the counts for the given interval.public T getTotalValuesSum()
public void setTotalValuesSum(T totalValuesSum)
totalValuesSum
- the sum of the values of the field.public T getTotalSquaresSum()
public void setTotalSquaresSum(T totalSquaresSum)
totalSquaresSum
- the sum of the squares of the values of the field.public Class<?> getNumericType()
Copyright © 2020 Actian Corporation. All rights reserved.