public class OptimizedItemsetsFinder extends BasicItemsetsFinder
The copy, add and edit operations have been minised.
It's recommended to use this algorithm as it is the fatest.
itemsets,
maxPattern,
minSupport,
minTime
| Constructor and Description |
|---|
OptimizedItemsetsFinder(Config config)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Itemset> |
generate(Base base,
int minTime)
Method invoked, must contain the algorithm in charge of finding
the itemsets
|
public OptimizedItemsetsFinder(Config config)
config - options for the algorithmspublic java.util.ArrayList<Itemset> generate(Base base, int minTime)
ItemsetsFinder
base - databaseminTime - minimal number of time