public class SmallDenseItemset extends Itemset
Modifier and Type | Field and Description |
---|---|
(package private) long |
items
Items, as a bitmask.
|
(package private) int |
length
Itemset length.
|
Constructor and Description |
---|
SmallDenseItemset(long items,
int length)
Constructor.
|
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, toString
public SmallDenseItemset(long items, int length)
items
- Itemslength
- Length (Cardinality of itemset)public int length()
Itemset
public boolean containedIn(BitVector bv)
Itemset
containedIn
in class Itemset
bv
- Bit vectortrue
when the itemset is contained in this vector.public long[] getItems()
Itemset
public int compareTo(Itemset o)
public StringBuilder appendTo(StringBuilder buf, VectorFieldTypeInformation<BitVector> meta)
Itemset
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.