double valueresult = -1;
double valueresult = Double.NaN;
  public double getPreferredValue(int aspect_type) {    double valueresult = -1;    Preference matchpref = this.getPreference(aspect_type);    if (matchpref != null) {      valueresult = matchpref.getScoringFunction().getBest().getValue();    }    return valueresult;  }