choco.kernel.common.util.tools
Class PermutationUtils
java.lang.Object
choco.kernel.common.util.tools.PermutationUtils
public final class PermutationUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getIdentity
public static IPermutation getIdentity()
replaceByIdentity
public static IPermutation replaceByIdentity(IPermutation permutation)
getSortingPermuation
public static IPermutation getSortingPermuation(int[] criteria)
getSortingPermuation
public static IPermutation getSortingPermuation(int[] criteria,
boolean reverse)
getSortingPermuation
public static IPermutation getSortingPermuation(IntegerConstantVariable[] criteria,
boolean reverse)
applyPermutation
public static IntegerConstantVariable[] applyPermutation(IPermutation permutation,
IntegerConstantVariable[] source)
applyPermutation
public static IntegerVariable[] applyPermutation(IPermutation permutation,
IntegerVariable[] source)
Copyright © 2012. All Rights Reserved.