Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
G
H
M
N
R
S
T
A
AdaptiveHistogram
- Class in
com.flaptor.hist4j
This class implements a histogram that adapts to an unknown data distribution.
AdaptiveHistogram()
- Constructor for class com.flaptor.hist4j.
AdaptiveHistogram
Class constructor.
AdaptiveHistogram.ValueConversion
- Interface in
com.flaptor.hist4j
Auxiliary interface for inline functor object.
addValue(float)
- Method in class com.flaptor.hist4j.
AdaptiveHistogram
Adds a data point to the histogram.
addValue(AdaptiveHistogram, float)
- Method in class com.flaptor.hist4j.
HistogramDataNode
Adds a value to the data node.
addValue(AdaptiveHistogram, float)
- Method in class com.flaptor.hist4j.
HistogramForkNode
Adds a value to the histogram by recursively adding the value to either subtree, depending on the split value.
addValue(AdaptiveHistogram, float)
- Method in class com.flaptor.hist4j.
HistogramNode
Abstract method for adding a value to the histogram
apply(AdaptiveHistogram.ValueConversion)
- Method in class com.flaptor.hist4j.
HistogramDataNode
Applies a convertion function to the values stored in the histogram.
apply(AdaptiveHistogram.ValueConversion)
- Method in class com.flaptor.hist4j.
HistogramForkNode
Applies a convertion function to the values stored in the histogram.
apply(AdaptiveHistogram.ValueConversion)
- Method in class com.flaptor.hist4j.
HistogramNode
Abstract method for applying a convertion function to the values stored in the histogram
C
Cell
- Class in
com.flaptor.hist4j
Contains the data of a histogram node.
Cell()
- Constructor for class com.flaptor.hist4j.
Cell
com.flaptor.hist4j
- package com.flaptor.hist4j
This package provides a histogram that adapts to any data distribution.
convertValue(float)
- Method in interface com.flaptor.hist4j.
AdaptiveHistogram.ValueConversion
This method should implement the conversion function.
count
- Variable in class com.flaptor.hist4j.
Cell
G
getAccumCount(float)
- Method in class com.flaptor.hist4j.
AdaptiveHistogram
Returns the cumulative density function for a given data point.
getAccumCount(float)
- Method in class com.flaptor.hist4j.
HistogramDataNode
Returns the cumulative density function for a given data point.
getAccumCount(float)
- Method in class com.flaptor.hist4j.
HistogramForkNode
Returns the cumulative density function for a given data point.
getAccumCount(float)
- Method in class com.flaptor.hist4j.
HistogramNode
Abstract method for getting the cumulative density function for a given value
getCount(float)
- Method in class com.flaptor.hist4j.
AdaptiveHistogram
Returns the number of data points stored in the same bucket as a given value.
getCount(float)
- Method in class com.flaptor.hist4j.
HistogramDataNode
Returns the number of data points stored in the same bucket as a given value.
getCount(float)
- Method in class com.flaptor.hist4j.
HistogramForkNode
Returns the number of data points stored in the same bucket as a given value.
getCount(float)
- Method in class com.flaptor.hist4j.
HistogramNode
Abstract method for getting the number of values stored in the same bucket as a reference value
getCountPerNodeLimit()
- Method in class com.flaptor.hist4j.
AdaptiveHistogram
This method is used by the internal data structure of the histogram to get the limit of data points that should be counted at one bucket.
getValueForAccumCount(long[])
- Method in class com.flaptor.hist4j.
HistogramDataNode
Returns the data point where the running cumulative count reaches the target cumulative count.
getValueForAccumCount(long[])
- Method in class com.flaptor.hist4j.
HistogramForkNode
Returns the data point where the running cumulative count reaches the target cumulative count.
getValueForAccumCount(long[])
- Method in class com.flaptor.hist4j.
HistogramNode
Abstract method for getting the value for which the cumulative density function reaches the desired value
getValueForPercentile(int)
- Method in class com.flaptor.hist4j.
AdaptiveHistogram
Returns the data point that splits the data set at a given percentile.
H
HistogramDataNode
- Class in
com.flaptor.hist4j
The HistogramDataNode stores the histogram data for a range of values.
HistogramDataNode()
- Constructor for class com.flaptor.hist4j.
HistogramDataNode
Creates an empty data node.
HistogramDataNode(long, float, float)
- Constructor for class com.flaptor.hist4j.
HistogramDataNode
Creates a data node for the given range with the given instance count.
HistogramForkNode
- Class in
com.flaptor.hist4j
The HistogramForkNode splits the data range in two at a given value, pointing to two subtrees, one for values smaller than the split value, and one for values larger than the split value.
HistogramForkNode(float, HistogramNode, HistogramNode)
- Constructor for class com.flaptor.hist4j.
HistogramForkNode
Creates a fork node with the given split value and subtrees.
HistogramNode
- Class in
com.flaptor.hist4j
A HistogramNode is the building block for the histogram data structure and provides a common inteface for both the data and the fork nodes.
HistogramNode()
- Constructor for class com.flaptor.hist4j.
HistogramNode
M
margin(int)
- Method in class com.flaptor.hist4j.
HistogramNode
Prints a margin corresponding to the provided tree level
maxValue
- Variable in class com.flaptor.hist4j.
Cell
minValue
- Variable in class com.flaptor.hist4j.
Cell
N
normalize(float, float)
- Method in class com.flaptor.hist4j.
AdaptiveHistogram
Normalizes all the values to the desired range.
R
reset()
- Method in class com.flaptor.hist4j.
AdaptiveHistogram
Erases all data from the histogram.
reset()
- Method in class com.flaptor.hist4j.
HistogramDataNode
Clears the data node.
reset()
- Method in class com.flaptor.hist4j.
HistogramForkNode
Clears the fork node, recursively erasing the subtrees.
reset()
- Method in class com.flaptor.hist4j.
HistogramNode
Abstract method for clearing the node
S
show()
- Method in class com.flaptor.hist4j.
AdaptiveHistogram
Shows the histograms' underlying data structure.
show(int)
- Method in class com.flaptor.hist4j.
HistogramDataNode
Prints this nodes' data with a margin depending on the level of the node in the tree.
show(int)
- Method in class com.flaptor.hist4j.
HistogramForkNode
Prints the data for the nodes in its subtrees.
show(int)
- Method in class com.flaptor.hist4j.
HistogramNode
Abstract method for showing the data structure
T
toTable()
- Method in class com.flaptor.hist4j.
AdaptiveHistogram
Return a table representing the data in this histogram.
toTable(ArrayList<Cell>)
- Method in class com.flaptor.hist4j.
HistogramDataNode
Build the table representing the histogram data adding this node's cell to it.
toTable(ArrayList<Cell>)
- Method in class com.flaptor.hist4j.
HistogramForkNode
Build the table representing the histogram data adding the data from each subtree.
toTable(ArrayList<Cell>)
- Method in class com.flaptor.hist4j.
HistogramNode
Abstract method for getting a table representing the histogram data
A
C
G
H
M
N
R
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes