public abstract class Itemset extends Object implements Comparable<Itemset>
Modifier and Type | Field and Description |
---|---|
(package private) int |
support
Support for this itemset.
|
Constructor and Description |
---|
Itemset() |
Modifier and Type | Method and Description |
---|---|
abstract StringBuilder |
appendTo(StringBuilder buf,
VectorFieldTypeInformation<BitVector> meta)
Append to a string buffer.
|
abstract boolean |
containedIn(BitVector bv)
Test whether the itemset is contained in a bit vector.
|
abstract long[] |
getItems()
Get the items.
|
int |
getSupport()
Get item support.
|
int |
increaseSupport()
Increase the support of the itemset.
|
abstract int |
length()
Itemset length.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compareTo
public int increaseSupport()
public int getSupport()
public abstract boolean containedIn(BitVector bv)
bv
- Bit vectortrue
when the itemset is contained in this vector.public abstract int length()
public abstract long[] getItems()
public abstract StringBuilder appendTo(StringBuilder buf, VectorFieldTypeInformation<BitVector> meta)
buf
- Buffermeta
- Relation metadata (for labels)Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.