cli
Class AbstractBenchmarkCmd
java.lang.Object
cli.AbstractCmdLine
cli.AbstractBenchmarkCmd
- All Implemented Interfaces:
- FileProcedure
- Direct Known Subclasses:
- BinPackingCmd, FcspCmd, RCPSPCmd, XcspCmd
public abstract class AbstractBenchmarkCmd
- extends AbstractCmdLine
- implements FileProcedure
The class define a command pattern designed for benchmarking.
It parses input/output arguments as well as global settings (timelimit, seed, verbosity).
A connection with an embedded/remote database could also be established.
- Since:
- 11 nov. 2009 version 2.1.1
- Version:
- 2.1.1
- Author:
- Arnaud Malapert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputFile
protected File inputFile
databaseURL
protected String databaseURL
databaseFile
protected File databaseFile
propertyFile
protected File propertyFile
outputDirectory
protected File outputDirectory
seed
protected long seed
timeLimit
protected Integer timeLimit
settings
protected final Configuration settings
seeder
protected Random seeder
instance
protected AbstractInstanceModel instance
DISCONNECTED
public static final IDbConnector DISCONNECTED
AbstractBenchmarkCmd
public AbstractBenchmarkCmd(Configuration settings)
setGlobalVerbosity
public void setGlobalVerbosity(Verbosity verbosity)
checkData
protected void checkData()
throws org.kohsuke.args4j.CmdLineException
- Description copied from class:
AbstractCmdLine
- check the validity of the command line
- Specified by:
checkData
in class AbstractCmdLine
- Throws:
org.kohsuke.args4j.CmdLineException
createInstance
protected abstract AbstractInstanceModel createInstance()
configureInstance
protected void configureInstance()
execute
protected void execute()
- Specified by:
execute
in class AbstractCmdLine
Copyright © 2012. All Rights Reserved.