
public class OneItemset extends Itemset
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
item
Trivial item.
|
| Constructor and Description |
|---|
OneItemset(int item)
Constructor of 1-itemset.
|
OneItemset(int item,
int support)
Constructor with initial support.
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
appendTo(StringBuilder buf,
VectorFieldTypeInformation<BitVector> meta)
Append to a string buffer.
|
int |
compareTo(Itemset o) |
boolean |
containedIn(BitVector bv)
Test whether the itemset is contained in a bit vector.
|
boolean |
equals(Object obj) |
long[] |
getItems()
Get the items.
|
int |
hashCode() |
int |
length()
Itemset length.
|
getSupport, increaseSupport, toStringpublic OneItemset(int item)
item - Itempublic OneItemset(int item,
int support)
item - Itemsupport - Supportpublic int length()
Itemsetpublic boolean containedIn(BitVector bv)
ItemsetcontainedIn in class Itemsetbv - Bit vectortrue when the itemset is contained in this vector.public long[] getItems()
Itemsetpublic int compareTo(Itemset o)
public StringBuilder appendTo(StringBuilder buf, VectorFieldTypeInformation<BitVector> meta)
ItemsetCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.