case LinearPartitioner.COLLAPSE_FREQ: { savings = getFreq(); break; }  case LinearPartitioner.COLLAPSE_LINEAR: case LinearPartitioner.COLLAPSE_NONE: { savings = 0; break; }  default: { savings = -1; Utils.fail("Unrecognized collapse value: " + collapse); } }  return savings;
    public int get(int collapse) {	// never save anything at the filter level unless you're going	// to frequency	if (collapse==LinearPartitioner.COLLAPSE_FREQ) {	    LinearCost cost = partitioner.getLinearAnalyzer().getLinearRepresentation(filter).getCost();	    return cost.getFrequencyCost() - cost.getDirectCost();	} else {	    return 0;	}    }