Class SimParameters
java.lang.Object
dataAnalysis.SimParameters
This class contains parameters that are shared by all DynamicDataAnalyzer objects.
If other values are not set, default ones are used.
- Author:
- Stefano Omini
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the batch sizeintGets the max processed events after which simulation will be stoppedintGets the max number of samples which can be collected for each measuredoubleGets the max simulated time after which simulation will be stoppedintGets the min number of samples which must be collected for each measuredoubleGets the accuracy of Null TestdoubleGets the test rate of Null TestintGets the number of batchesbooleanTells if Confidence interval (alpha and precision) is not to be used as stopping criteriavoidsetBatchLen(int batchLen) Sets the batch sizevoidsetDisableStatisticStop(boolean disableStatisticStop) Sets if Confidence interval (alpha and precision) is not to be used as stopping criteriavoidsetLogDecimalSeparator(String logDecimalSeparatorChar) voidsetLogDelimiter(String logDelimiterChar) voidsetLogPath(String logFilePath) voidsetLogReplaceMode(String logReplaceMode) voidsetMaxProcessedEvents(int maxProcessedEvents) Sets the max processed events after which simulation will be stoppedvoidsetMaxSamples(int maxSamples) Sets the max number of samples which can be collected for each measurevoidsetMaxSimulatedTime(double maxSimulatedTime) Sets the max simulated time after which simulation will be stoppedvoidsetMinSamples(int minSamples) Sets the min number of samples which must be collected for each measurevoidsetNullTestAlfa(double nullTestAlfa) Set the accuracy of Null TestvoidsetNullTestRate(double nullTestRate) Set the test rate of Null TestvoidsetNumBatch(int numBatch) Sets the number of batchesvoidsetTimestampValue(String logTimestampValue)
-
Field Details
-
numBatch
protected int numBatchnumber of batches -
batchLen
protected int batchLennumber of samples per batch
-
-
Constructor Details
-
SimParameters
public SimParameters()
-
-
Method Details
-
getNumBatch
public int getNumBatch()Gets the number of batches- Returns:
- the number of batches
-
setNumBatch
public void setNumBatch(int numBatch) Sets the number of batches- Parameters:
numBatch- the number of batches
-
getBatchLen
public int getBatchLen()Gets the batch size- Returns:
- the batch size
-
setBatchLen
public void setBatchLen(int batchLen) Sets the batch size- Parameters:
batchLen- the batch size
-
getNullTestAlfa
public double getNullTestAlfa()Gets the accuracy of Null Test- Returns:
- the accuracy of Null Test
-
setNullTestAlfa
public void setNullTestAlfa(double nullTestAlfa) Set the accuracy of Null Test- Parameters:
nullTestAlfa- the accuracy of Null Test
-
getNullTestRate
public double getNullTestRate()Gets the test rate of Null Test- Returns:
- the test rate of Null Test
-
setNullTestRate
public void setNullTestRate(double nullTestRate) Set the test rate of Null Test- Parameters:
nullTestRate- the test rate of Null Test
-
getMaxSamples
public int getMaxSamples()Gets the max number of samples which can be collected for each measure- Returns:
- the max number of samples which can be collected for each measure
-
setMaxSamples
public void setMaxSamples(int maxSamples) Sets the max number of samples which can be collected for each measure- Parameters:
maxSamples- the max number of samples which can be collected for each measure
-
getMinSamples
public int getMinSamples()Gets the min number of samples which must be collected for each measure- Returns:
- the min number of samples which must be collected for each measure
-
setMinSamples
public void setMinSamples(int minSamples) Sets the min number of samples which must be collected for each measure- Parameters:
minSamples- the min number of samples which must be collected for each measure
-
getMaxSimulatedTime
public double getMaxSimulatedTime()Gets the max simulated time after which simulation will be stopped- Returns:
- the max simulated time after which simulation will be stopped
-
setMaxSimulatedTime
public void setMaxSimulatedTime(double maxSimulatedTime) Sets the max simulated time after which simulation will be stopped- Parameters:
maxSimulatedTime- max simulated time after which simulation will be stopped
-
getMaxProcessedEvents
public int getMaxProcessedEvents()Gets the max processed events after which simulation will be stopped- Returns:
- the max processed events after which simulation will be stopped
-
setMaxProcessedEvents
public void setMaxProcessedEvents(int maxProcessedEvents) Sets the max processed events after which simulation will be stopped- Parameters:
maxProcessedEvents- max processed events after which simulation will be stopped
-
isDisableStatisticStop
public boolean isDisableStatisticStop()Tells if Confidence interval (alpha and precision) is not to be used as stopping criteria- Returns:
- the disableStatisticStop
-
setDisableStatisticStop
public void setDisableStatisticStop(boolean disableStatisticStop) Sets if Confidence interval (alpha and precision) is not to be used as stopping criteria- Parameters:
disableStatisticStop- the disableStatisticStop to set
-
setLogPath
-
setLogDelimiter
-
setLogDecimalSeparator
-
setLogReplaceMode
-
setTimestampValue
-
getLogPath
-
getLogDelimiter
-
getLogDecimalSeparator
-
getLogReplaceMode
-
getTimestampValue
-