Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.AssociationRules.ItemsetManager Interface Reference

Inheritance diagram for kddml.Core.DataMining.AssociationRules.ItemsetManager:

kddml.Core.DataMining.AssociationRules.Itemset List of all members.

Public Member Functions

Double getSupport ()
Iterator getItems ()
int getSize ()
boolean equals (Object itemset)
boolean contain (ItemManager item)
boolean addItem (ItemManager item)
boolean isSupported (TransactionManager transaction)
void setSupport (double support)
int getAbsoluteSupport (int num_transactions)
TransactionManager toTransaction () throws AssociationModelException

Detailed Description

A manager interface for itemsets.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Member Function Documentation

Double kddml.Core.DataMining.AssociationRules.ItemsetManager.getSupport  ) 
 

Returns the support ot the itemset in the model as a percentage in respect to the total number of transactions. It is a number between 0 and 1, inclusive. Can be null.

Returns:
Double

Implemented in kddml.Core.DataMining.AssociationRules.Itemset.

Iterator kddml.Core.DataMining.AssociationRules.ItemsetManager.getItems  ) 
 

Returns the list of items as iterator.

Returns:
Iterator

Implemented in kddml.Core.DataMining.AssociationRules.Itemset.

int kddml.Core.DataMining.AssociationRules.ItemsetManager.getSize  ) 
 

Returns the number of items. Returns a value >=0.

Returns:
int

Implemented in kddml.Core.DataMining.AssociationRules.Itemset.

boolean kddml.Core.DataMining.AssociationRules.ItemsetManager.equals Object  itemset  ) 
 

Tests if two itemsets are equals, i.e., they contains the same items.

Parameters:
itemset Object
Returns:
boolean

Implemented in kddml.Core.DataMining.AssociationRules.Itemset.

boolean kddml.Core.DataMining.AssociationRules.ItemsetManager.contain ItemManager  item  ) 
 

Tests if an item is contained in the itemset.

Parameters:
item Item
Returns:
boolean

Implemented in kddml.Core.DataMining.AssociationRules.Itemset.

boolean kddml.Core.DataMining.AssociationRules.ItemsetManager.addItem ItemManager  item  ) 
 

Adds a new item to this itemset.

Parameters:
item Item
Returns:
boolean

Implemented in kddml.Core.DataMining.AssociationRules.Itemset.

boolean kddml.Core.DataMining.AssociationRules.ItemsetManager.isSupported TransactionManager  transaction  ) 
 

Tests if this itemset satisfy an input transaction. A transaction satisfy an itemset I1, ..., In if every item Ii with i in [1, m] occurs in the transaction.

Parameters:
transaction TransactionManager
Returns:
boolean

Implemented in kddml.Core.DataMining.AssociationRules.Itemset.

void kddml.Core.DataMining.AssociationRules.ItemsetManager.setSupport double  support  ) 
 

Sets the support of this itemsets. Support must be a number between 0 and 1, inclusive.

Parameters:
support double

Implemented in kddml.Core.DataMining.AssociationRules.Itemset.

int kddml.Core.DataMining.AssociationRules.ItemsetManager.getAbsoluteSupport int  num_transactions  ) 
 

Returns the support for this itemset in terms of absolute count of transactions supporting it.

Parameters:
num_transactions int the total number of transactions used to build the itemset.
Returns:
int

Implemented in kddml.Core.DataMining.AssociationRules.Itemset.

TransactionManager kddml.Core.DataMining.AssociationRules.ItemsetManager.toTransaction  )  throws AssociationModelException
 

Returns the list of items as transaction.

Exceptions:
AssociationModelException 
Returns:
TransactionManager

Implemented in kddml.Core.DataMining.AssociationRules.Itemset.


Generated on Thu Feb 23 13:04:38 2006 for kddml by  doxygen 1.4.3