// (c) Tuomas J. Lukka package org.fenfire.swamp.bench; import org.fenfire.swamp.*; import org.fenfire.swamp.impl.*; /** Benchmark methods for various RDF operations. * For use from jython: set the attributes and then call * the method. */ public class RDFOps { public int nrounds; public int circleSize; Graph g; URN5Namespace namespace = new URN5Namespace(); Object[] nodes; public RDFOps(int nnodes) { nodes = new Object[nnodes]; for(int i=0; i