Create a New RandomConfiguration Instance
Source:R/class_random_configuration.R
getRandomConfiguration.RdConstructs and returns a new RandomConfiguration reference class object,
initializing all fields and assigning a unique ID. Allows specification of
treatment arms, seed, buffer sizes, and associated project.
Usage
getRandomConfiguration(
...,
randomProject,
treatmentArmIds,
seed = NA_integer_,
ravBufferMinimumSize = 1000L,
ravBufferMaximumSize = 10000L
)Arguments
- ...
Additional arguments passed to the constructor.
- randomProject
RandomProjectobject associated with this configuration.- treatmentArmIds
Character vector of treatment arm IDs.
- seed
Integer random seed used for reproducibility. Defaults to
NA_integer_.- ravBufferMinimumSize
Integer specifying the minimum buffer size for allocation values. Defaults to
1000L.- ravBufferMaximumSize
Integer specifying the maximum buffer size for allocation values. Defaults to
10000L.