recentNodeLinkForItem.put(newChild.getLabel().getItemName(), newChild);
}
public static void main(String[] args){
List<Transaction> trans = new ArrayList<Transaction>();
trans.add( new Transaction(1,"0","m","o","n","k","e","y"));
trans.add( new Transaction(2,"1","d","o","n","k","e","y"));
trans.add( new Transaction(3,"1","m","a","k","e"));
trans.add( new Transaction(4,"0","m","u","c","k","y"));
trans.add( new Transaction(5,"0","c","o","o","k","i","e"));
int min_sup = 3;
TransactionDB db = new TransactionDB(min_sup);
db.addTransactions(trans);
FPTreeBuilder builder = new FPTreeBuilder(db);