Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

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

public class AprioriResult
extends Object
implements Result

Result class for Apriori Algorithm.

Author:
Erich Schubert

Field Summary
private  List<BitSet> solution
          The frequent itemsets.
private  Map<BitSet,Integer> supports
          The supports of all itemsets.
 
Constructor Summary
AprioriResult(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 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(List<BitSet> solution,
                     Map<BitSet,Integer> supports)
Constructor.

Parameters:
solution -
supports -
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.2.1 (2009-07-13_1605)