de.lmu.ifi.dbs.elki.result
Class AprioriResult
java.lang.Object
de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult
de.lmu.ifi.dbs.elki.result.BasicResult
de.lmu.ifi.dbs.elki.result.AprioriResult
- All Implemented Interfaces:
- HierarchicalResult, Result
public class AprioriResult
- extends BasicResult
Result class for Apriori Algorithm.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
solution
private List<BitSet> solution
- The frequent itemsets.
supports
private Map<BitSet,Integer> supports
- The supports of all itemsets.
AprioriResult
public AprioriResult(String name,
String shortname,
List<BitSet> solution,
Map<BitSet,Integer> supports)
- Constructor.
- Parameters:
name
- The long name (for pretty printing)shortname
- the short name (for filenames etc.)solution
- Frequent itemsetssupports
- Supports for the itemsets
getSolution
public List<BitSet> getSolution()
- Returns the frequent item sets.
- Returns:
- the frequent item sets.
getSupports
public Map<BitSet,Integer> getSupports()
- Returns the frequencies of the frequent item sets.
- Returns:
- the frequencies of the frequent item sets