if (logger.isDebugEnabled()) logger.debug(thisCost+" yields: "+c);
    private double computeCostComponent(ActionCost.Cost thisCost, double memSize, double bandwidthSize) {        if (logger.isDebugEnabled()) logger.debug("In computeCostComponent: "+((thisCost!=null)?thisCost.toString():"NULL")+":"+memSize+":"+bandwidthSize);        if (thisCost == null) return 0.0;  // no cost in this dimension        double c = thisCost.getIntensity();        if (!(thisCost.isAgentSizeAFactor()) || thisCost.isMessageSizeAFactor()) {            if (logger.isDebugEnabled()) logger.debug(thisCost+" yields: "+c);            return c;            }        double outCost = 0.0;        if (thisCost.isAgentSizeAFactor()) outCost = outCost + c * memSize;        if (thisCost.isMessageSizeAFactor()) outCost = outCost + c * bandwidthSize;        if (logger.isDebugEnabled()) logger.debug(thisCost+" yields: "+outCost);        return outCost;    }