ca.pfv.spmf.algorithms.frequentpatterns.zart
Class TFTableFrequent
- java.lang.Object
-
- ca.pfv.spmf.algorithms.frequentpatterns.zart.TFTableFrequent
-
public class TFTableFrequent extends java.lang.ObjectThis class represents the TF table of frequent itemsets, used by the Zart algorithm.- See Also:
AlgoZart
-
-
Field Summary
Fields Modifier and Type Field and Description booleanemptySetIsClosedindicate if the empty set is closed or notjava.util.List<java.util.List<Itemset>>levelsThis store the frequent itemsets by size At position i, there are the list of frequent itemsets of size i
-
Constructor Summary
Constructors Constructor and Description TFTableFrequent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<Itemset>getLevelForZart(int i)Get the frequent itemsets of a given size i.
-
-
-
Field Detail
-
levels
public final java.util.List<java.util.List<Itemset>> levels
This store the frequent itemsets by size At position i, there are the list of frequent itemsets of size i
-
emptySetIsClosed
public boolean emptySetIsClosed
indicate if the empty set is closed or not
-
-
Method Detail
-
getLevelForZart
public java.util.List<Itemset> getLevelForZart(int i)
Get the frequent itemsets of a given size i.- Parameters:
i- the size i.- Returns:
- a list of itemsets
-
-
DMelt 3.0 © DataMelt by jWork.ORG