protected double computeBenefit(Vector cumulative, AssetStateDimension compensatedStateDimension, CostBenefitKnob knob) {
protected double computeBenefit(Vector cumulativeProbVector, AssetStateDimension compensatedStateDimension, CostBenefitKnob knob) {
    protected double computeBenefit(Vector cumulative, AssetStateDimension compensatedStateDimension, CostBenefitKnob knob) {        double benefit = 0.0;        Iterator iter = cumulative.iterator();        while (iter.hasNext()) {            StateProb thisState = (StateProb)iter.next();            benefit = benefit + thisState.getProb() * computeStateBenefit(compensatedStateDimension.findAssetState(thisState.getStateName()), knob);        }        return benefit;    }