public class RuntimeBenchmark
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANSI_BLUE |
static java.lang.String |
ANSI_GREEN |
static java.lang.String |
ANSI_PURPLE |
static java.lang.String |
ANSI_RED |
static java.lang.String |
ANSI_RESET |
CompactTriangleMesh_5n |
cds5 |
CompactHalfedge |
cheds |
CornerTable |
ct |
java.lang.String |
filename
name of the input mesh
|
Jcg.mesh.arraybased.ArrayBasedHalfedge |
heds |
java.lang.String |
nameDS
name of the data structure to test
|
int |
R |
int |
repeat |
int |
rootEdge |
Scarst_os |
scarst_os |
Scarst_ot |
scarst_ot |
Scarst_rs |
scarst_rs |
int |
seed |
SOT |
sot |
SQUAD |
squad |
Jcg.mesh.arraybased.ArrayBasedWingededge |
weds |
Constructor and Description |
---|
RuntimeBenchmark(java.lang.String[] args)
Initialize input parameters
|
Modifier and Type | Method and Description |
---|---|
void |
bench5n()
Evaluate the performance of the vertex degree computation, for the CDS5n (Isaac 2011 implementation)
|
void |
benchCHE()
Evaluate the performance of the Compact Half-edge data structure
|
void |
benchCT()
Evaluate the performance of the Corner Table data structure
|
void |
benchHE()
Evaluate the performance of the Half-edge data structure
|
void |
benchSCARST_OS()
Evaluate the performance of the vertex degree computation, for the Adaptive Compact Data structure 3n (2023 version)
|
void |
benchSCARST_OT()
Evaluate the performance of the vertex degree computation, for the Adaptive Compact Data structure 3n-5n (2023 version)
|
void |
benchSCARST_RS()
Evaluate the performance of the vertex degree computation, for the Adaptive Compact Data structure 3n (2023 version)
|
void |
benchSOT()
Evaluate the performance of the SOT data structure
|
void |
benchSQUAD()
Evaluate the performance of the SQUAD data structure
|
void |
benchWE()
Evaluate the performance of the vertex degree computation, for the Winged-edge data structure
|
void |
buildCHE()
Construct the Compact Half-edge data structure
|
void |
buildCompactDS(java.lang.String name)
Construct a compact mesh data structure
|
void |
buildCT()
Construct the Corner Table data structure
|
void |
buildHE()
Construct the Half-edge data structure
|
void |
buildSOT()
Construct the SOT data structure
|
void |
buildSQUAD()
Construct the SQUAD data structure
|
void |
buildWE()
Construct the Winged-edge data structure
|
static void |
main(java.lang.String[] args)
Perform all tests (for each data structure)
|
static void |
printHelpMessage() |
static void |
printMessage(CornerTableInterface ds)
Print informations about the data structure to test
|
static void |
printMessage(Jcg.mesh.arraybased.HalfedgeInterface ds)
Print informations about the data structure to test
|
static void |
printMessage(Jcg.mesh.arraybased.WingededgeInterface ds)
Print informations about the data structure to test
|
public static final java.lang.String ANSI_RESET
public static final java.lang.String ANSI_RED
public static final java.lang.String ANSI_GREEN
public static final java.lang.String ANSI_PURPLE
public static final java.lang.String ANSI_BLUE
public java.lang.String filename
public java.lang.String nameDS
public int repeat
public int seed
public int R
public int rootEdge
public Scarst_ot scarst_ot
public Scarst_os scarst_os
public Scarst_rs scarst_rs
public CompactTriangleMesh_5n cds5
public Jcg.mesh.arraybased.ArrayBasedWingededge weds
public Jcg.mesh.arraybased.ArrayBasedHalfedge heds
public CompactHalfedge cheds
public CornerTable ct
public SOT sot
public SQUAD squad
public RuntimeBenchmark(java.lang.String[] args)
args
- array storing the input parameters (name of the mesh, name of the data structure, starting seed, ...)public void buildCompactDS(java.lang.String name)
name
- name of the data structurepublic void benchSCARST_OT()
public void benchSCARST_OS()
public void benchSCARST_RS()
public void bench5n()
public void buildHE()
public void benchHE()
public void buildCHE()
public void benchCHE()
public void buildWE()
public void benchWE()
public void buildCT()
public void benchCT()
public void buildSOT()
public void benchSOT()
public void buildSQUAD()
public void benchSQUAD()
public static void printMessage(Jcg.mesh.arraybased.WingededgeInterface ds)
ds
- mesh data structurepublic static void printMessage(Jcg.mesh.arraybased.HalfedgeInterface ds)
ds
- mesh data structurepublic static void printMessage(CornerTableInterface ds)
ds
- mesh data structurepublic static void main(java.lang.String[] args)
public static void printHelpMessage()