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

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

public class TIDPrefixTreeNode
extends Object

An TIDPrefixTreeNode consists of a TIDItemset, the items in the node, and a list of children of this node.

Author:
Fabian Dill, University of Konstanz

Constructor Summary
TIDPrefixTreeNode(TIDItemSet items)
          Creates an instance of a TIDPrefixTreeNode with a given set of items.
 
Method Summary
 void addChild(TIDPrefixTreeNode child)
          Adds a child to that node.
 List<TIDPrefixTreeNode> getChildren()
          Returns the list of children.
 TIDItemSet getItemSet()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TIDPrefixTreeNode

public TIDPrefixTreeNode(TIDItemSet items)
Creates an instance of a TIDPrefixTreeNode with a given set of items.

Parameters:
items - the items in that node
Method Detail

addChild

public void addChild(TIDPrefixTreeNode child)
Adds a child to that node.

Parameters:
child - the child to be added

getChildren

public List<TIDPrefixTreeNode> getChildren()
Returns the list of children.

Returns:
the list of children of this node

getItemSet

public TIDItemSet getItemSet()
Returns:
the items in this node

toString

public String toString()

Overrides:
toString in class Object


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.