com.rapidminer.operator.learner.associations
Interface Item

All Superinterfaces:
java.lang.Comparable<Item>, java.io.Serializable
All Known Implementing Classes:
BooleanAttributeItem

public interface Item
extends java.lang.Comparable<Item>, java.io.Serializable

Item the base class for itemsets and provide all necessary frequency information.

Author:
Sebastian Land

Method Summary
 int getFrequency()
          This method returns the frequency of this item
 void increaseFrequency()
          This method adds one to the frequency of this item
 void increaseFrequency(int value)
          This method increases the frequency of this item by value
 java.lang.String toString()
          This method returns a human readable String representation of this item.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getFrequency

int getFrequency()
This method returns the frequency of this item

Returns:
the frequency of this item

increaseFrequency

void increaseFrequency()
This method adds one to the frequency of this item


increaseFrequency

void increaseFrequency(int value)
This method increases the frequency of this item by value

Parameters:
value - is added to the frequency

toString

java.lang.String toString()
This method returns a human readable String representation of this item.

Overrides:
toString in class java.lang.Object
Returns:
the representing string


Copyright © 2001-2009 by Rapid-I