org.knime.base.node.mine.subgroupminer.apriori
Class AprioriAlgorithmFactory

java.lang.Object
  extended by org.knime.base.node.mine.subgroupminer.apriori.AprioriAlgorithmFactory

public final class AprioriAlgorithmFactory
extends Object

To hide the different implementations of the apriori algorithm to the NodeModel, the NodeDialog simply displays the registered AlgorithmDataStructure's and the NodeModel passes it to this factory.

Author:
Fabian Dill, University of Konstanz

Nested Class Summary
static class AprioriAlgorithmFactory.AlgorithmDataStructure
          Register here possible implementations of the apriori algorithm to be provided by the subgroup miner node (SubgroupMinerModel).
 
Method Summary
static AprioriAlgorithm getAprioriAlgorithm(AprioriAlgorithmFactory.AlgorithmDataStructure type, int bitSetLength, int dbsize)
          Returns an instance of the AprioriAlgorithm interface according to the passed type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAprioriAlgorithm

public static AprioriAlgorithm getAprioriAlgorithm(AprioriAlgorithmFactory.AlgorithmDataStructure type,
                                                   int bitSetLength,
                                                   int dbsize)
Returns an instance of the AprioriAlgorithm interface according to the passed type.

Parameters:
type - the desired algorithm implementation
bitSetLength - the bitset length of the transactions, i.e. the number of items
dbsize - number of transactions
Returns:
an instance of the AprioriAlgorithm


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.