System.out.println("Init Buffer: " + edge + ", sent " + itemsSent + ", received = " + itemsReceived);
    public static int initBufferSize(Edge edge)    {	int itemsReceived, itemsSent;	InputTraceNode in = edge.getDest();	OutputTraceNode out = edge.getSrc();	//calculate the items the input trace receives	FilterInfo next = FilterInfo.getFilterInfo((FilterTraceNode)in.getNext());	itemsSent =  (int)(next.initItemsReceived() *	    ((double)in.getWeight(edge) / in.totalWeights()));		//calculate the items the output trace sends	FilterInfo prev = FilterInfo.getFilterInfo((FilterTraceNode)out.getPrevious());	itemsReceived = (int)(prev.initItemsSent() *	    ((double)out.getWeight(edge) / out.totalWeights()));		//see if they are different	assert (itemsSent == itemsReceived) :	    "Calculating steady state: items received != items send on buffer";		return itemsSent * getTypeSize(next.filter.getInputType());     }