This helper function generates a random parameter partition, which is used
for the randomized AO procedure.
Usage
generate_random_partition(x, p, min)
Arguments
- x
[integer]
The parameter indices.
- p
[numeric(1)]
The probability to generate a new block.
- min
[integer(1)]
The minimum number of blocks.
Value
A list, a random partition of x.