|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.debellor.core.util.Permute
public class Permute
| Constructor Summary | |
|---|---|
Permute()
|
|
| Method Summary | |
|---|---|
static int[] |
indices(int range)
|
static int[] |
indices(int range,
int length,
java.util.Random random)
Generates random combination of integers from [0, range),
of length length, without repetitions. |
static int[] |
indices(int range,
java.util.Random random)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Permute()
| Method Detail |
|---|
public static int[] indices(int range,
int length,
java.util.Random random)
range),
of length length, without repetitions.
range - Values will be picked randomly from [0,range) intervallength - Number of returned values. Must be <= rangerandom - Random number generator to be used
range),
of length length, without repetitions.
public static int[] indices(int range,
java.util.Random random)
public static int[] indices(int range)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||