|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdriver.spatial
public class spatial
Spatial data structure benchmark.
Nested Class Summary | |
---|---|
private static class |
spatial.cmdlineOpts
Parsed command-line options. |
Field Summary | |
---|---|
private static int |
MODE_SPATIAL_GRID
benchmark binning types. |
private static int |
MODE_SPATIAL_HIER
benchmark binning types. |
private static int |
MODE_SPATIAL_LINEAR
benchmark binning types. |
private static java.lang.String |
MODE_SPATIAL_STRING_GRID
benchmark binning type strings. |
private static java.lang.String |
MODE_SPATIAL_STRING_HIER
benchmark binning type strings. |
private static java.lang.String |
MODE_SPATIAL_STRING_LINEAR
benchmark binning type strings. |
static java.lang.String |
VERSION
benchmark version. |
Constructor Summary | |
---|---|
spatial()
|
Method Summary | |
---|---|
static Field |
createSim(Location.Location2D bounds,
Spatial spatial,
long nodes)
Initialize simulation field. |
static void |
main(java.lang.String[] args)
Benchmark entry point: spatial data structure performance. |
private static spatial.cmdlineOpts |
parseCommandLineOptions(java.lang.String[] args)
Parse command-line options. |
private static void |
showUsage()
Print benchmark command-line syntax. |
private static void |
showVersion()
Print benchmark version information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VERSION
private static final int MODE_SPATIAL_LINEAR
private static final int MODE_SPATIAL_GRID
private static final int MODE_SPATIAL_HIER
private static final java.lang.String MODE_SPATIAL_STRING_LINEAR
private static final java.lang.String MODE_SPATIAL_STRING_GRID
private static final java.lang.String MODE_SPATIAL_STRING_HIER
Constructor Detail |
---|
public spatial()
Method Detail |
---|
private static void showVersion()
private static void showUsage()
private static spatial.cmdlineOpts parseCommandLineOptions(java.lang.String[] args) throws jargs.gnu.CmdLineParser.OptionException
args
- command-line parameters
CmdLineParser.OptionException
- invalid option encounteredpublic static Field createSim(Location.Location2D bounds, Spatial spatial, long nodes)
bounds
- size of fieldspatial
- binning radio containernodes
- number of nodes
public static void main(java.lang.String[] args)
args
- command-line parameters
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |