Split
is a function for splitting a pool into multiple parallel tests or pools.
When constructing parallel tests, each test is constructed to satisfy all constraints.
When constructing parallel pools, each pool is constructed so that it contains a test that satisfies all constraints.
Split(
config,
constraints,
n_partition,
partition_type,
partition_size_range = NULL,
n_maximum_partitions_per_item = 1,
force_solver = FALSE
)
# S4 method for class 'config_Static'
Split(
config,
constraints,
n_partition,
partition_type,
partition_size_range = NULL,
n_maximum_partitions_per_item = 1,
force_solver = FALSE
)
a config_Static
object. Use createStaticTestConfig
for this.
a constraints
object representing test specifications. Use loadConstraints
for this.
the number of partitions to create.
test
to create tests, or pool
to create pools.
(optional) two integer values for the desired range for the size of a partition. Has no effect when partition_type
is test
.
For discrete item pools, the default partition size is (pool size / number of partitions).
For set-based item pools, the default partition size is (pool size / number of partitions) +/- smallest set size.
(optional) the number of times an item can be assigned to a partition.
Setting this to 1 is equivalent to requiring all partitions to be mutually exclusive.
A caveat is that when this is equal to n_partition
, the assembled partitions will be identical to each other,
because Split
aims to minimize the test information difference between all partitions.
(default = 1
)
if TRUE
, do not check whether the solver is one of recommended solvers for complex problems (set-based assembly, partitioning). (default = FALSE
)
Split
returns an output_Split
object containing item/set indices of created tests/pools.