* @param relations Relations to contain
*/
public ProxyDatabase(DBIDs ids, Iterable<Relation<?>> relations) {
super();
this.ids = ids;
this.idrep = new DBIDView(this, this.ids);
this.relations.add(idrep);
this.addChildResult(idrep);
for(Relation<?> orel : relations) {
Relation<?> relation = ProxyView.wrap(this, ids, orel);
this.relations.add(relation);