public class SimulationEnvironment
extends java.lang.Object
SimulationEnvironment
provides a standard set of command
line parameters which are automatically parsed. It is fully compatible with
SimTree.Modifier and Type | Field and Description |
---|---|
protected java.util.List<PrintResultWriter> |
batchLogWriters |
protected java.lang.String |
calendarType |
protected CompressionType |
compressionType |
protected java.util.List<ResultWriter> |
exportWriters |
protected java.io.Reader |
filterStream |
protected java.util.List<ResultReader> |
importReaders |
protected PrintResultWriter |
logWriter |
protected int |
numberOfBatches |
protected java.io.InputStream |
parameterStream |
protected java.io.PrintWriter |
parserLogStream |
protected int |
seedIndex |
static java.lang.String |
USAGE |
Modifier | Constructor and Description |
---|---|
protected |
SimulationEnvironment() |
|
SimulationEnvironment(ArgParser argParser,
java.lang.String[] args) |
|
SimulationEnvironment(java.lang.String name,
java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
protected void |
addOptions(ArgParser argParser) |
java.util.List<PrintResultWriter> |
getBatchLogWriters() |
java.lang.String |
getCalendarType() |
java.util.List<ResultWriter> |
getExportWriters() |
java.util.List<ResultReader> |
getImportReaders() |
PrintResultWriter |
getLogWriter() |
int |
getNumberOfBatches() |
java.io.InputStream |
getParameterStream() |
java.io.PrintWriter |
getParserLogStream() |
int |
getSeedIndex() |
protected void |
init(ArgParser argParser) |
boolean |
isImportSimulation() |
public static final java.lang.String USAGE
protected int numberOfBatches
protected int seedIndex
protected java.io.InputStream parameterStream
protected java.io.PrintWriter parserLogStream
protected java.io.Reader filterStream
protected PrintResultWriter logWriter
protected java.util.List<PrintResultWriter> batchLogWriters
protected java.util.List<ResultWriter> exportWriters
protected java.util.List<ResultReader> importReaders
protected java.lang.String calendarType
protected CompressionType compressionType
protected SimulationEnvironment()
public SimulationEnvironment(ArgParser argParser, java.lang.String[] args)
public SimulationEnvironment(java.lang.String name, java.lang.String[] args)
protected void addOptions(ArgParser argParser)
protected void init(ArgParser argParser)
public int getNumberOfBatches()
public int getSeedIndex()
public java.io.InputStream getParameterStream()
public java.io.PrintWriter getParserLogStream()
public PrintResultWriter getLogWriter()
public java.util.List<PrintResultWriter> getBatchLogWriters()
public java.util.List<ResultWriter> getExportWriters()
public java.util.List<ResultReader> getImportReaders()
public boolean isImportSimulation()
public java.lang.String getCalendarType()