Class SimParameters

java.lang.Object
dataAnalysis.SimParameters

public class SimParameters extends Object
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 Details

    • numBatch

      protected int numBatch
      number of batches
    • batchLen

      protected int batchLen
      number 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

      public void setLogPath(String logFilePath)
    • setLogDelimiter

      public void setLogDelimiter(String logDelimiterChar)
    • setLogDecimalSeparator

      public void setLogDecimalSeparator(String logDecimalSeparatorChar)
    • setLogReplaceMode

      public void setLogReplaceMode(String logReplaceMode)
    • setTimestampValue

      public void setTimestampValue(String logTimestampValue)
    • getLogPath

      public String getLogPath()
    • getLogDelimiter

      public String getLogDelimiter()
    • getLogDecimalSeparator

      public String getLogDecimalSeparator()
    • getLogReplaceMode

      public String getLogReplaceMode()
    • getTimestampValue

      public String getTimestampValue()