de.lmu.ifi.dbs.elki.result
Class AprioriResult

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult
      extended by de.lmu.ifi.dbs.elki.result.BasicResult
          extended by de.lmu.ifi.dbs.elki.result.AprioriResult
All Implemented Interfaces:
HierarchicalResult, Result

public class AprioriResult
extends BasicResult

Result class for Apriori Algorithm.


Field Summary
private  List<BitSet> solution
          The frequent itemsets.
private  Map<BitSet,Integer> supports
          The supports of all itemsets.
 
Constructor Summary
AprioriResult(String name, String shortname, List<BitSet> solution, Map<BitSet,Integer> supports)
          Constructor.
 
Method Summary
 List<BitSet> getSolution()
          Returns the frequent item sets.
 Map<BitSet,Integer> getSupports()
          Returns the frequencies of the frequent item sets.
 
Methods inherited from class de.lmu.ifi.dbs.elki.result.BasicResult
getLongName, getShortName
 
Methods inherited from class de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult
addChildResult, getHierarchy, setHierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

solution

private List<BitSet> solution
The frequent itemsets.


supports

private Map<BitSet,Integer> supports
The supports of all itemsets.

Constructor Detail

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 itemsets
supports - Supports for the itemsets
Method Detail

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

Release 0.4.0 (2011-09-20_1324)