|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.learner.associations.FrequentItemSet
public class FrequentItemSet
A frequent item set contains a set of frequent Items.
| Constructor Summary | |
|---|---|
FrequentItemSet()
|
|
FrequentItemSet(java.util.ArrayList<Item> items,
int frequency)
|
|
| Method Summary | |
|---|---|
void |
addItem(Item item,
int frequency)
|
java.lang.Object |
clone()
|
int |
compareTo(FrequentItemSet o)
This method compares FrequentItemSets. |
boolean |
equals(java.lang.Object o)
this method returns true if the frequent Items set are equal in size and items. |
int |
getFrequency()
|
Item |
getItem(int index)
|
java.util.Collection<Item> |
getItems()
|
java.lang.String |
getItemsAsString()
This method returns a representation of the items |
int |
getNumberOfItems()
|
int |
hashCode()
|
java.lang.String |
toString()
This method should return a proper String representation of this frequent Item Set |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FrequentItemSet()
public FrequentItemSet(java.util.ArrayList<Item> items,
int frequency)
| Method Detail |
|---|
public void addItem(Item item,
int frequency)
public java.util.Collection<Item> getItems()
public Item getItem(int index)
public int getNumberOfItems()
public int getFrequency()
public int compareTo(FrequentItemSet o)
compareTo in interface java.lang.Comparable<FrequentItemSet>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getItemsAsString()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||