private Relation<ParameterizationFunction> preprocess(Database db,Relation<V> vrel){
  DBIDs ids=vrel.getDBIDs();
  SimpleTypeInformation<ParameterizationFunction> type=new SimpleTypeInformation<>(ParameterizationFunction.class);
  WritableDataStore<ParameterizationFunction> prep=DataStoreUtil.makeStorage(ids,DataStoreFactory.HINT_HOT,ParameterizationFunction.class);
  for (DBIDIter iter=ids.iter(); iter.valid(); iter.advance()) {
    prep.put(iter,new ParameterizationFunction(vrel.get(iter)));
  }
  MaterializedRelation<ParameterizationFunction> prel=new MaterializedRelation<>(type,ids,null,prep);
  return prel;
}

private Relation < ParameterizationFunction > preprocess ( Database db , Relation < V > vrel ) { DBIDs ids = vrel . getDBIDs ( ) ; SimpleTypeInformation < ParameterizationFunction > type = new SimpleTypeInformation < > ( ParameterizationFunction . class ) ; WritableDataStore < ParameterizationFunction > prep = DataStoreUtil . makeStorage ( ids , DataStoreFactory . HINT_HOT , ParameterizationFunction . class ) ; for ( DBIDIter iter = ids . iter ( ) ; iter . valid ( ) ; iter . advance ( ) ) { prep . put ( iter , new ParameterizationFunction ( vrel . get ( iter ) ) ) ; } MaterializedRelation < ParameterizationFunction > prel = new MaterializedRelation < > ( type , ids , null , prep ) ; return prel ; }
preprocess the dataset , precomputing the parameterization functions .
