public class PowerSet
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
DEBUG |
protected long[][] |
powerset |
protected int |
rank |
protected long[] |
sizes |
protected long |
totalsize |
| Constructor and Description |
|---|
PowerSet(long[] sizes) |
PowerSet(long[] sizes,
int count) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generate() |
long[][] |
getPowerSet() |
long |
getTotalSize() |
static void |
main(java.lang.String[] argv) |
java.lang.String |
toString() |