Class BatchPar
java.lang.Object
random.AbstractParameter
random.BatchPar
This is the parameter that should be passed to the Batched distribution.
Copyright (c) 2003
Politecnico di Milano - dipartimento di Elettronica e Informazione
Copyright (c) 2003
Politecnico di Milano - dipartimento di Elettronica e Informazione
- Author:
- Jerry Zhu
-
Constructor Summary
ConstructorsConstructorDescriptionBatchPar()An empty constructor.BatchPar(DistributionContainer base, DistributionContainer batchSize, Integer fixedBatchSize, Boolean IsFixedBatchSize) It creates a new batched parameter. -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck()It checks if the parameter is correct or not.getBase()Getters and settersintbooleanvoidsetBase(Distribution base) voidsetBaseParameter(Parameter baseParameter) voidsetBatchSize(Distribution batchSize) voidsetBatchSizeParameter(Parameter batchSizeParameter) voidsetFixedBatchSize(int fixedBatchSize) voidsetIsFixedBatchSize(boolean IsFixedBatchSize) Methods inherited from class AbstractParameter
setMean
-
Constructor Details
-
BatchPar
public BatchPar(DistributionContainer base, DistributionContainer batchSize, Integer fixedBatchSize, Boolean IsFixedBatchSize) throws IncorrectDistributionParameterException It creates a new batched parameter. -
BatchPar
public BatchPar()An empty constructor.
-
-
Method Details
-
check
-
getBase
Getters and setters -
setBase
-
getBaseParameter
-
setBaseParameter
-
getBatchSize
-
setBatchSize
-
getBatchSizeParameter
-
setBatchSizeParameter
-
getFixedBatchSize
public int getFixedBatchSize() -
setFixedBatchSize
public void setFixedBatchSize(int fixedBatchSize) -
getIsFixedBatchSize
public boolean getIsFixedBatchSize() -
setIsFixedBatchSize
public void setIsFixedBatchSize(boolean IsFixedBatchSize)
-