powered by
Compute a list of all possible block combinations where the number of blocks in each combination is limited by parameters min_level and max_level.
min_level
max_level
unique_combos(n_block, max_level, min_level = 2)
integer number of input blocks.
integer
integer maximum number of blocks per combination.
integer minimum number of blocks per combination.
A list of unique block combinations.
This function is used for minimal redundancy implementations of rosa and sopls and for lookups into computed components.
rosa
sopls
# NOT RUN { unique_combos(3, 2) # }
Run the code above in your browser using DataLab