int cost = topConfig.get(COLLAPSE_ANY);
long cost = topConfig.get(COLLAPSE_ANY);
    private StreamTransform calcPartitions() {	// build stream config	LDPConfig topConfig = buildStreamConfig();	// set execution counts here, because we want to account for	// identities that we added to the stream	this.counts = SIRScheduler.getExecutionCounts(str);	// build up tables.	int cost = topConfig.get(COLLAPSE_ANY);	// clear dot traces	LDPConfig.numAssigned = 0;	LDPConfig.partitions = new HashMap();	StreamTransform result = topConfig.traceback(COLLAPSE_ANY);	// make dot graph of partitions	PartitionDot.printPartitionGraph(str, "partitions.dot", LDPConfig.partitions);	return result;    }