public class KSubsetGenerator
extends java.lang.Object
Constructor and Description |
---|
KSubsetGenerator(int n,
int k) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
int[] |
next()
This generates the next subset.
|
void |
reset() |
public void reset()
public boolean hasNext()
public int[] next()