|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodelling.fiti.data.FitTable
public class FitTable
Class implementing a FIT table according to article; Efficient Mining of Intertransaction Association Rules, by A K H Tung, H lu, J Han and L Feng (2003). Each entry in the table consists of a list of itemsets and a timestamp. Only contains itemsets with items with filt index.
Constructor Summary | |
---|---|
FitTable()
Constructor creating a new FIT table. |
Method Summary | |
---|---|
void |
addEntry(int timestamp)
Method for adding an entry with a given timestamp. |
void |
addSet(int timestamp,
int setId)
Method for adding an itemset to a specified entry in the table. |
java.util.ArrayList |
getSets(int index)
Method for getting the itemsets of an entry. |
int |
getTimestamp(int index)
Method for getting the timestamp of an entry |
int |
size()
Method returning the number of entries in the FIT table. |
java.lang.String |
toString()
Method for getting a printable representation of the FIT table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FitTable()
Method Detail |
---|
public int size()
public void addEntry(int timestamp)
timestamp
- The timestamppublic void addSet(int timestamp, int setId)
timestamp
- The timestampsetId
- The index of the itemsetpublic java.util.ArrayList getSets(int index)
index
- The index
public int getTimestamp(int index)
index
- The index
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |