nl.liacs.subdisc
Class NumericDomain
java.lang.Object
nl.liacs.subdisc.NumericDomain
public class NumericDomain
- extends java.lang.Object
Field Summary |
static int |
AVG
|
static int |
MAX
|
static int |
MIN
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIN
public static final int MIN
- See Also:
- Constant Field Values
MAX
public static final int MAX
- See Also:
- Constant Field Values
AVG
public static final int AVG
- See Also:
- Constant Field Values
NumericDomain
public NumericDomain(Column theColumn)
NumericDomain
public NumericDomain(Column theColumn,
java.util.BitSet theSubset)
size
public int size()
getValue
public float getValue(int theIndex)
getValues
public float[] getValues()
getValueAbove
public float getValueAbove(float theValue,
boolean isFirstColumn)
getValueBelow
public float getValueBelow(float theValue,
boolean isFirstColumn)
getValueBetween
public float getValueBetween(float theLow,
float theHigh)
print
public void print()
computeSum
public float computeSum(int theStart,
int theEnd)
computeSumSquaredDeviations
public float computeSumSquaredDeviations(int theStart,
int theEnd)
computeMedianFrequencyCounts
public int[] computeMedianFrequencyCounts(float theMedian,
int theStart,
int theEnd)
computeMedian
public float computeMedian(int theStart,
int theEnd)
computeMedian
public float computeMedian(float[] theValues)
computeMedianAD
public float computeMedianAD(int theStart,
int theEnd)
equalHeight
public void equalHeight(int theNrBags)