/*if (itemsSent != itemsReceived) {
if (itemsSent != itemsReceived) {
    public int initItems() {        int itemsReceived, itemsSent;        // calculate the items the input trace receives        FilterInfo next = FilterInfo.getFilterInfo((FilterTraceNode) dest                                                   .getNext());                itemsSent = (int) ((double) next.initItemsReceived() * dest.ratio(this));        //System.out.println(next.initItemsReceived()  + " * " + dest.ratio(this));                // calculate the items the output trace sends        FilterInfo prev = FilterInfo.getFilterInfo((FilterTraceNode) src                                                   .getPrevious());        itemsReceived = (int) ((double) prev.initItemsSent() * src.ratio(this));        /*if (itemsSent != itemsReceived) {            System.out.println("*** Init: Items received != Items Sent!");            System.out.println(prev + " -> " + next);            System.out.println("Mult: " + prev.getMult(true, false) + " " +                      next.getMult(true, false));            System.out.println("Push: " + prev.prePush + " " + prev.push);            System.out.println("Pop: " + next.pop);            System.out.println("Init items Sent * Ratio: " + prev.initItemsSent() + " * " +                    src.ratio(this));            System.out.println("Items Received: " + next.initItemsReceived(true));            System.out.println("Ratio received: " + dest.ratio(this));                    }*/                // see if they are different        assert (itemsSent == itemsReceived) : "Calculating init stage: items received != items send on buffer: "            + src + " (" + itemsSent + ") -> (" + itemsReceived + ") "+ dest;        return itemsSent;    }