com.rapidminer.operator.learner.associations
Class BooleanAttributeItem

java.lang.Object
  extended by com.rapidminer.operator.learner.associations.BooleanAttributeItem
All Implemented Interfaces:
Item, java.io.Serializable, java.lang.Comparable<Item>

public class BooleanAttributeItem
extends java.lang.Object
implements Item

This is an Item based on boolean attributes.

Author:
Sebastian Land, Ingo Mierswa
See Also:
Serialized Form

Constructor Summary
BooleanAttributeItem(Attribute item)
           
 
Method Summary
 int compareTo(Item arg0)
           
 boolean equals(java.lang.Object other)
           
 int getFrequency()
          This method returns the frequency of this item
 java.lang.String getName()
           
 int hashCode()
           
 void increaseFrequency()
          This method adds one to the frequency of this item
 void increaseFrequency(double value)
           
 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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanAttributeItem

public BooleanAttributeItem(Attribute item)
Method Detail

getFrequency

public int getFrequency()
Description copied from interface: Item
This method returns the frequency of this item

Specified by:
getFrequency in interface Item
Returns:
the frequency of this item

increaseFrequency

public void increaseFrequency()
Description copied from interface: Item
This method adds one to the frequency of this item

Specified by:
increaseFrequency in interface Item

increaseFrequency

public void increaseFrequency(double value)

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(Item arg0)
Specified by:
compareTo in interface java.lang.Comparable<Item>

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Description copied from interface: Item
This method returns a human readable String representation of this item.

Specified by:
toString in interface Item
Overrides:
toString in class java.lang.Object
Returns:
the representing string

increaseFrequency

public void increaseFrequency(int value)
Description copied from interface: Item
This method increases the frequency of this item by value

Specified by:
increaseFrequency in interface Item
Parameters:
value - is added to the frequency


Copyright © 2001-2009 by Rapid-I