|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.aq.invertedindex.core.Quantile
public class Quantile
A class that represents the quantile of a postlist. A quantile defines a set of intervals from the postlist's cumulative distribution function. The distribution is computed by summation of the masses over all postlist entries. Quantiles are only generated when sorting was enabled during indexing.
Nested Class Summary | |
---|---|
static class |
Quantile.Order
Defines a set of intervals. |
Constructor Summary | |
---|---|
Quantile()
The default constructor. |
|
Quantile(int[] values)
The explicit constructor. |
|
Quantile(Quantile quantile)
The copy constructor. |
Method Summary | |
---|---|
int |
get(Quantile.Order order)
Get the value for the given order. |
void |
set(int[] values)
Set the entire quantile at once. |
void |
set(Quantile.Order order,
int value)
Set the value for the given order. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Quantile()
public Quantile(int[] values)
public Quantile(Quantile quantile)
quantile
- Method Detail |
---|
public int get(Quantile.Order order)
public void set(Quantile.Order order, int value)
public void set(int[] values)
values
- public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |