Package com.semedy.reasoner.utils
Class PermutationGenerator
java.lang.Object
com.semedy.reasoner.utils.PermutationGenerator
Permutes objects
- Author:
- angele
-
Constructor Summary
ConstructorDescriptionPermutationGenerator
(int length, int numberOfObjects, List<Object> objectsToPermute, boolean fullPermutation) -
Method Summary
Modifier and TypeMethodDescriptionint[]
next()
int[]
nextFull()
int[]
nextHalf()
Object[]
nextObjectPermutation
(int[] permutation)
-
Constructor Details
-
PermutationGenerator
-
-
Method Details
-
next
public int[] next() -
nextFull
public int[] nextFull() -
nextHalf
public int[] nextHalf() -
nextObjectPermutation
-