code: public OutlierResult run(Relation<?> relation) {
      WritableDoubleDataStore scores = DataStoreUtil.makeDoubleStorage(relation.getDBIDs(), DataStoreFactory.HINT_HOT);
      for(DBIDIter iditer = relation.iterDBIDs(); iditer.valid(); iditer.advance()) {
        scores.putDouble(iditer, 0.0);
      }
      DoubleRelation scoreres = new MaterializedDoubleRelation("Trivial no-outlier score", "no-outlier", scores, relation.getDBIDs());
      OutlierScoreMeta meta = new ProbabilisticOutlierScore();
      return new OutlierResult(meta, scoreres);
    }
docs: Run the actual algorithm.
  
  @param relation Relation
  @return Result