ca.pfv.spmf.algorithms.associationrules.TopKRules_and_TNR
Class Transaction
- java.lang.Object
-
- ca.pfv.spmf.algorithms.associationrules.TopKRules_and_TNR.Transaction
-
public class Transaction extends java.lang.ObjectThis class represents a transaction optimized for the TNR and TopKRules algorithms for top-k association rule mining. In particular transactions are implemented as LinkedList for efficient removal of infrequent items as done by these algorithms.- See Also:
AlgoTNR,AlgoTopKRules,Database
-
-
Constructor Summary
Constructors Constructor and Description Transaction(int size)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddItem(java.lang.Integer item)Add an item to the transaction.java.util.List<java.lang.Integer>getItems()Get the list of items in this transaction
-
DMelt 3.0 © DataMelt by jWork.ORG