code: void writeResult(PrintStream out, DBIDs ids, OutlierResult result, ScalingFunction scaling, String label) {
      if(scaling instanceof OutlierScaling) {
        ((OutlierScaling) scaling).prepare(result);
      }
      out.append(label);
      DoubleRelation scores = result.getScores();
      for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) {
        double value = scores.doubleValue(iter);
        value = scaling != null ? scaling.getScaled(value) : value;
        out.append(' ').append(Double.toString(value));
      }
      out.append(FormatUtil.NEWLINE);
    }
docs: Write a single output line.
  
  @param out Output stream
  @param ids DBIDs
  @param result Outlier result
  @param scaling Scaling function
  @param label Identification label