Update of /cvsroot/bprocessor/test/src/net/sourceforge/bprocessor/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20736/src/net/sourceforge/bprocessor/test
Modified Files:
NormalsBenchmark.java
Log Message:
Major change wrt Space/Container
Index: NormalsBenchmark.java
===================================================================
RCS file: /cvsroot/bprocessor/test/src/net/sourceforge/bprocessor/test/NormalsBenchmark.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** NormalsBenchmark.java 27 Sep 2007 10:47:47 -0000 1.2
--- NormalsBenchmark.java 13 Dec 2007 12:00:38 -0000 1.3
***************
*** 18,22 ****
import net.sourceforge.bprocessor.model.Persistence;
import net.sourceforge.bprocessor.model.Project;
! import net.sourceforge.bprocessor.model.Space;
import net.sourceforge.bprocessor.model.Surface;
import net.sourceforge.bprocessor.model.Vertex;
--- 18,22 ----
import net.sourceforge.bprocessor.model.Persistence;
import net.sourceforge.bprocessor.model.Project;
! import net.sourceforge.bprocessor.model.Container;
import net.sourceforge.bprocessor.model.Surface;
import net.sourceforge.bprocessor.model.Vertex;
***************
*** 54,59 ****
private static class Empty extends Benchmark {
! private Space space;
! public Empty(Space space) {
this.space = space;
}
--- 54,59 ----
private static class Empty extends Benchmark {
! private Container space;
! public Empty(Container space) {
this.space = space;
}
***************
*** 70,75 ****
private static class Count extends Benchmark {
! private Space space;
! public Count(Space space) {
this.space = space;
}
--- 70,75 ----
private static class Count extends Benchmark {
! private Container space;
! public Count(Container space) {
this.space = space;
}
***************
*** 86,93 ****
private static class Compute extends Benchmark {
! private Space space;
private Surface[] array;
! public Compute(Space space) {
this.space = space;
Collection surfaces = space.getSurfaces();
--- 86,93 ----
private static class Compute extends Benchmark {
! private Container space;
private Surface[] array;
! public Compute(Container space) {
this.space = space;
Collection surfaces = space.getSurfaces();
***************
*** 105,113 ****
private static class Direction extends Benchmark {
! private Space space;
private Surface[] array;
private CoordinateSystem system;
! public Direction(Space space) {
this.space = space;
Collection surfaces = space.getSurfaces();
--- 105,113 ----
private static class Direction extends Benchmark {
! private Container space;
private Surface[] array;
private CoordinateSystem system;
! public Direction(Container space) {
this.space = space;
Collection surfaces = space.getSurfaces();
***************
*** 127,132 ****
private static class ToArray extends Benchmark {
! private Space space;
! public ToArray(Space space) {
this.space = space;
}
--- 127,132 ----
private static class ToArray extends Benchmark {
! private Container space;
! public ToArray(Container space) {
this.space = space;
}
***************
*** 138,144 ****
private static class LLToArray extends Benchmark {
! private Space space;
private LinkedList list;
! public LLToArray(Space space) {
this.space = space;
Collection surfaces = space.getSurfaces();
--- 138,144 ----
private static class LLToArray extends Benchmark {
! private Container space;
private LinkedList list;
! public LLToArray(Container space) {
this.space = space;
Collection surfaces = space.getSurfaces();
***************
*** 154,160 ****
private static class Normals extends Benchmark {
! private Space space;
! public Normals(Space space) {
this.space = space;
}
--- 154,160 ----
private static class Normals extends Benchmark {
! private Container space;
! public Normals(Container space) {
this.space = space;
}
|