public class OrderedKPartitionGenerator
extends java.lang.Object
Constructor and Description |
---|
OrderedKPartitionGenerator(int n,
int k) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
int[] |
next()
Generates the next ordered k-partition.
|
void |
reset() |